#5A0F17#5A0F17
#5A0F17 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.9% C 0.106 H 20.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F17 |
|---|---|
| RGB | rgb(90, 15, 23) |
| HSL | hsl(354, 71%, 21%) |
| HSV | hsv(354, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 74.4%, 64.7%) |
| CIE-LAB | lab(18.27, 33.74, 16.26) |
| CIE-LCH | lch(18.27, 37.46, 25.73°) |
| OKLab | oklab(30.85% 0.0994 0.0378) |
| OKLCH | oklch(30.85% 0.106 20.8) |
| XYZ | xyz(4.5424, 2.5779, 1.0688) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.37
Dried Blood
#4B0101
ΔE00 4.33
Mahogany
#4A0100
ΔE00 4.53
Rosewood
#65000B
ΔE00 4.54
Maroon (survey)
#650021
ΔE00 5.23
Deep Brown
#410200
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F17 #0F5A52
analogous
#5A0F3C #5A0F17 #5A2C0F
triadic
#5A0F17 #175A0F #0F175A
tetradic
#5A0F17 #3C5A0F #0F5A52 #2C0F5A
square
#5A0F17 #3C5A0F #0F5A52 #2C0F5A
split-complementary
#5A0F17 #0F5A2C #0F3C5A
monochromatic
#1A0407 #26060A #5A0F17 #8E1824 #C32032
Accessibility & contrast
On white
13.86
#5A0F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#5A0F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F17
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F17 | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252217
Deuteranopia (green-blind)
#383215
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f17; /* rgb */ color: rgb(90, 15, 23); /* oklch */ color: oklch(30.9% 0.106 20.8);
Tailwind
colors: {
custom: {
50: '#8f5553',
500: '#5a0f17',
950: '#000000',
},
}SCSS
$custom: #5a0f17; $custom-light: #8f5553; $custom-dark: #000000;
JSON
{
"hex": "#5a0f17",
"rgb": {
"r": 90,
"g": 15,
"b": 23
},
"hsl": {
"h": 353.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30854,
"c": 0.10632,
"h": 20.8
},
"luminance": 0.02577
}Semantic roles & 50–950 ramp
primary
#5A0F17
secondary
#319489
accent
#EEDB3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878