#5A0F18#5A0F18
#5A0F18 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.9% C 0.106 H 20.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F18 |
|---|---|
| RGB | rgb(90, 15, 24) |
| HSL | hsl(353, 71%, 21%) |
| HSV | hsv(353, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 73.3%, 64.7%) |
| CIE-LAB | lab(18.29, 33.80, 15.58) |
| CIE-LCH | lch(18.29, 37.22, 24.75°) |
| OKLab | oklab(30.87% 0.0998 0.0365) |
| OKLCH | oklch(30.87% 0.106 20.1) |
| XYZ | xyz(4.5527, 2.5820, 1.1226) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.35
Dried Blood
#4B0101
ΔE00 4.58
Mahogany
#4A0100
ΔE00 4.78
Maroon (survey)
#650021
ΔE00 4.86
Rosewood
#65000B
ΔE00 4.89
Deep Brown
#410200
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F18 #0F5A51
analogous
#5A0F3D #5A0F18 #5A2B0F
triadic
#5A0F18 #185A0F #0F185A
tetradic
#5A0F18 #3D5A0F #0F5A51 #2B0F5A
square
#5A0F18 #3D5A0F #0F5A51 #2B0F5A
split-complementary
#5A0F18 #0F5A2B #0F3D5A
monochromatic
#1A0407 #26060A #5A0F18 #8E1826 #C32034
Accessibility & contrast
On white
13.85
#5A0F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#5A0F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F18
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F18 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252218
Deuteranopia (green-blind)
#383216
Tritanopia (blue-blind)
#640013
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f18; /* rgb */ color: rgb(90, 15, 24); /* oklch */ color: oklch(30.9% 0.106 20.1);
Tailwind
colors: {
custom: {
50: '#8f5554',
500: '#5a0f18',
950: '#000000',
},
}SCSS
$custom: #5a0f18; $custom-light: #8f5554; $custom-dark: #000000;
JSON
{
"hex": "#5a0f18",
"rgb": {
"r": 90,
"g": 15,
"b": 24
},
"hsl": {
"h": 352.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30873,
"c": 0.10627,
"h": 20.1
},
"luminance": 0.02581
}Semantic roles & 50–950 ramp
primary
#5A0F18
secondary
#319488
accent
#EED93A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0302
muted
#7E7878