Converting Colors


Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 1
FormatColor
Hex5D1B48
RGB93, 27, 72
RGB Percent36%, 11%, 28%
CMY0.6353, 0.8941, 0.7176
CMYK0.00, 0.71, 0.23, 0.64
HSL319°, 55%, 24%
HSV319°, 71%, 36%
XYZ6.0758, 3.5789, 6.5015
Conversions Part 2
FormatColor
RYB93, 27, 72
Decimal6101832
CIELab22.23, 35.15, -12.26
CIELCh22, 37.226, 340.768
Yxy3.5789, 0.3761, 0.2215
Android (android.graphics.Color)4284291912 (0xFF5D1B48)
YUV51.8640, 9.9270, 36.0763

Details

The YUV color 51.8640, 9.9270, 36.0763 is a dark color, and the websafe version is hex 663366. A complement of this color would be 68.1360, -9.9270, -36.0763, and the grayscale version is 52.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 102.0600, 9.3374, 38.5354, and 17.0600, 5.8864, 25.3804 is the 20% darker color. If you saturate the color by 10%, you get 46.2390, 11.2212, 41.0094, and if you desaturate by 10%, it is 57.4890, 8.6329, 31.1431.

Distribution

RGB Color DistributionThe distribution of the RGB values, red, green and blue.RedThe Perecentage of Red in the Color.GreenThe Perecentage of Green in the Color.BlueThe Perecentage of Blue in the Color.RGB
RYB Color DistributionThe distribution of the RYB values, red, yellow and blue.RedThe Perecentage of Red in the Color.YellowThe Perecentage of Yellow in the Color.BlueThe Perecentage of Blue in the Color.RYB
CMYK Color DistributionThe distribution of the CMYK values, Cyan, Magenta, Yellow and Black.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.BlackThe Perecentage of Black in the Color.CMYK
CMY Color DistributionThe distribution of the CMY values, Cyan, Magenta, Yellow.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.CMY

Brightness & Saturation Gradients

These gradients show how the YUV color 51.8640, 9.9270, 36.0763 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Similar to the brightness gradients but the following saturation gradients show a change of the YUV color 51.8640, 9.9270, 36.0763 by changing the saturation by 10% instead.

Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.245.0210, 4.9196, 8.7516The Color 245.0210, 4.9196, 8.7516.227.9980, 13.3120, 23.6808The Color 227.9980, 13.3120, 23.6808.208.4840, 9.6214, 40.7945The Color 208.4840, 9.6214, 40.7945.181.9680, 8.8898, 42.1241The Color 181.9680, 8.8898, 42.1241.154.3700, 9.1846, 40.8945The Color 154.3700, 9.1846, 40.8945.127.6580, 9.0426, 39.7649The Color 127.6580, 9.0426, 39.7649.102.0600, 9.3374, 38.5354The Color 102.0600, 9.3374, 38.5354.77.0490, 9.3428, 36.7910The Color 77.0490, 9.3428, 36.7910.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.1.1960, -0.5896, 2.4591The Color 1.1960, -0.5896, 2.4591.17.0600, 5.8864, 25.3804The Color 17.0600, 5.8864, 25.3804.25.9180, 11.3794, 36.9059The Color 25.9180, 11.3794, 36.9059.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.34.9890, 13.8094, 50.8756The Color 34.9890, 13.8094, 50.8756.40.0270, 12.8047, 46.4573The Color 40.0270, 12.8047, 46.4573.46.2390, 11.2212, 41.0094The Color 46.2390, 11.2212, 41.0094.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.104.2500, -2.5882, -9.8663The Color 104.2500, -2.5882, -9.8663.98.0380, -1.0047, -4.4183The Color 98.0380, -1.0047, -4.4183.92.4130, 0.2894, 0.5148The Color 92.4130, 0.2894, 0.5148.86.7880, 1.5835, 5.4479The Color 86.7880, 1.5835, 5.4479.81.1630, 2.8776, 10.3810The Color 81.1630, 2.8776, 10.3810.74.9510, 4.4612, 15.8290The Color 74.9510, 4.4612, 15.8290.69.3260, 5.7553, 20.7621The Color 69.3260, 5.7553, 20.7621.63.7010, 7.0494, 25.6952The Color 63.7010, 7.0494, 25.6952.57.4890, 8.6329, 31.1431The Color 57.4890, 8.6329, 31.1431.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

AnalogousThe analogous color harmony consists of three colors that are next to each other on the color wheel.54.6310, 19.9019, 9.9706The Color 54.6310, 19.9019, 9.9706.48.4280, -2.1830, 46.9826The Color 48.4280, -2.1830, 46.9826.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.54.6310, 19.9019, 9.9706The Color 54.6310, 19.9019, 9.9706.Analogous

🖌️ View as Color Bucket

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

TriadThe triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.48.3010, 20.0646, -42.3600The Color 48.3010, 20.0646, -42.3600.49.3280, -24.3187, 6.7283The Color 49.3280, -24.3187, 6.7283.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Triad

🖌️ View as Color Bucket

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

ComplementaryThe complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.68.1360, -9.9270, -36.0763The Color 68.1360, -9.9270, -36.0763.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Complementary

🖌️ View as Color Bucket

Split Complementary

Split-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.

Split ComplementarySplit-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.45.9240, 8.4185, -40.2753The Color 45.9240, 8.4185, -40.2753.43.7380, -19.5908, -16.4332The Color 43.7380, -19.5908, -16.4332.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.45.9240, 8.4185, -40.2753The Color 45.9240, 8.4185, -40.2753.Split Complementary

🖌️ View as Color Bucket

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

SquareThe square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.47.7770, 28.2109, -41.9004The Color 47.7770, 28.2109, -41.9004.41.4440, -3.6699, -36.3464The Color 41.4440, -3.6699, -36.3464.50.3350, -24.8152, 26.0162The Color 50.3350, -24.8152, 26.0162.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Square

🖌️ View as Color Bucket

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

RectangleThe rectangle color scheme consists of four colors that form a rectangle on the color wheel.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.47.3890, 16.5702, -41.5602The Color 47.3890, 16.5702, -41.5602.41.4440, -3.6699, -36.3464The Color 41.4440, -3.6699, -36.3464.49.1150, -10.9027, 43.7491The Color 49.1150, -10.9027, 43.7491.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Rectangle

🖌️ View as Color Bucket

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.61.0000, 0.0000, 0.0000The Color 61.0000, 0.0000, 0.0000.189.0000, 0.0000, 0.0000The Color 189.0000, 0.0000, 0.0000.51.6250, 2.1569, 8.2219The Color 51.6250, 2.1569, 8.2219.40.8030, 25.7331, 6.3118The Color 40.8030, 25.7331, 6.3118.104.4130, 3.7404, 13.6698The Color 104.4130, 3.7404, 13.6698.51.8640, 9.9270, 36.0763The Color 51.8640, 9.9270, 36.0763.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #5D1B48 of the current color.

#5D1B48

Previews

White Background

 

This preview shows how the YUV color 51.8640, 9.9270, 36.0763 looks on a white background.

The color contrast ratio for these colors is 12.24, which passes the AAA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for all text sizes. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the YUV color 51.8640, 9.9270, 36.0763 looks on a black background.

The color contrast ratio for these colors is 1.72, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

YUV 51.8640, 9.9270, 36.0763 Background

 

This preview shows how black text looks on a background with the YUV color 51.8640, 9.9270, 36.0763.

 

This preview shows how white text looks on a background with the YUV color 51.8640, 9.9270, 36.0763.

Color Blindness Simulation


Dichromacy

Original Color
51.8640, 9.9270, 36.0763
Protanopia
53.0750, 19.6830, -13.2208
Deuteranopia
54.7100, 6.5520, -1.4997
Tritanopia
53.0750, -6.9390, 32.3832

Trichromacy

Original Color
51.8640, 9.9270, 36.0763
Protanomaly
52.8600, 15.8450, 4.5078
Deuteranomaly
54.0260, 7.3822, 12.2552
Tritanomaly
52.3940, -0.6872, 33.8575

Monochromacy

Original Color
51.8640, 9.9270, 36.0763
Achromatopsia
52.0000, 0.0000, 0.0000
Achromatomaly
52.0000, 3.4510, 13.1550

CSS Examples


The CSS property to change the color of the text to YUV 51.8640, 9.9270, 36.0763 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(93, 27, 72) }.

This example shows how text in the color rgb(93, 27, 72) looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px rgb(93, 27, 72) }.

Here you see how black text with a 4 pixel rgb(93, 27, 72) colored shadow looks like.

Border

This example shows the color as border, it can be applied via the CSS property "border" or "border-color".

The CSS property to change the border of an element to YUV 51.8640, 9.9270, 36.0763 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid rgb(93, 27, 72) }.

If only the border color should be changed .border{ border-color:rgb(93, 27, 72) } can be used.

Here you see how a box with a 4 pixel rgb(93, 27, 72) colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px rgb(93, 27, 72); -webkit-box-shadow:4px 4px 4px 4px rgb(93, 27, 72); box-shadow:4px 4px 4px 4px rgb(93, 27, 72) }.

Background

The CSS property to change the background color of an element to YUV 51.8640, 9.9270, 36.0763 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(93, 27, 72) }.

If only the background color should be changed .background{ background-color:rgb(93, 27, 72) } can be used.

This example shows the color as background, it is applied via the CSS property "background".

To optimize and compress your CSS code, you can use our online CSS compressor and optimizer based on csstidy. If you want to create a linear gradient as background or border, check our CSS Gradient Generator.

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "5D1B48", into the input field and click on convert. The result will be in the section Color Conversions, and the following sections will provide you with further details on the color.

Some color formats use the same notation, and the conversion will guess the composition of the search query. As an example, if you try to convert the string "319°, 71%, 36%" it could be an HSV or HSL color, the conversion will assume HSL in this case.

As this could lead to wrong conversions, you can define which format you are passing by wrapping your color string in brackets with the format in front. The search string "HSV(319°, 71%, 36%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(22.23, 35.15, -12.26)", "CIELCH(22, 37.226, 340.768)", "YXY(3.5789, 0.3761, 0.2215)" and "CMYK(0.00, 0.71, 0.23, 0.64)".


    FontExplorer X - Makes Everyone an Expert

Advertisment: These links are affiliate (commission) links. If you click on such a link and buy something on that website, I get a commission. For you, the price does not change.