#5A2222 color

#5A2222 rgb(90, 34, 34)
Shades of red

The hex color #5A2222 is a dark, desaturated red.

In the RGB color model it is made of 35.3% red, 13.3% green and 13.3% blue (90, 34, 34).

Its hue angle is 0°, with 45% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 62% magenta, 62% yellow and 65% black.

The closest named color is Lonestar (#522426), a difference of 3 ΔE, a small difference.

White text is the more readable choice on this background (contrast 12.45:1).

#5A2222 color codes

HEX#5A2222
RGBrgb(90, 34, 34)
RGB percentrgb(35.3%, 13.3%, 13.3%)
HSLhsl(0, 45%, 24%)
HSV / HSBhsv(0, 62%, 35%)
CMYKcmyk(0%, 62%, 62%, 65%)
CIE LABlab(21.7, 25.8, 13.05)
CIE LCHlch(21.7, 28.91, 26.84)
CIE XYZxyz(5.078, 3.434, 1.908)
Decimal5906978
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5A2222, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #5A2222RatioAAAAAAA large
Sample text1.69:1FailFailFail
Sample text12.45:1PassPassPass
#5A2222 as text onRatioAAAAAAA large
Sample text12.45:1PassPassPass
Sample text1.69:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #5A2222 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5a2222; }
.text { color: #5a2222; }
.border { border: 2px solid #5a2222; }
.transparent { background-color: rgb(90 34 34 / 50%); }
.gradient { background: linear-gradient(to right, #5a2222, #5a3e22); }
Background
Text color
Border

Similar colors

Closest common color name: Wine.

Questions

What color is #5A2222?
#5A2222 is a dark, desaturated red, closest to the named color Lonestar. It belongs to the red family of colors.
What is the RGB value of #5A2222?
The RGB value is 90, 34, 34: 90 red, 34 green and 34 blue on a 0 to 255 scale.
What is the complementary color of #5A2222?
The complementary color is #225A5A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5A2222?
White text. Black text has a contrast ratio of 1.69:1 and white text 12.45:1. WCAG asks for at least 4.5:1 for normal text.