#5A0F14#5A0F14
#5A0F14 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.107 H 23.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F14 |
|---|---|
| RGB | rgb(90, 15, 20) |
| HSL | hsl(356, 71%, 21%) |
| HSV | hsv(356, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 77.8%, 64.7%) |
| CIE-LAB | lab(18.22, 33.58, 18.26) |
| CIE-LCH | lch(18.22, 38.23, 28.53°) |
| OKLab | oklab(30.8% 0.0981 0.0417) |
| OKLCH | oklch(30.8% 0.107 23) |
| XYZ | xyz(4.5141, 2.5665, 0.9194) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.63
Claret
#680018
ΔE00 3.77
Dried Blood
#4B0101
ΔE00 3.77
Mahogany
#4A0100
ΔE00 3.98
Deep Brown
#410200
ΔE00 5.50
Maroon (survey)
#650021
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F14 #0F5A55
analogous
#5A0F39 #5A0F14 #5A2F0F
triadic
#5A0F14 #145A0F #0F145A
tetradic
#5A0F14 #395A0F #0F5A55 #2F0F5A
square
#5A0F14 #395A0F #0F5A55 #2F0F5A
split-complementary
#5A0F14 #0F5A2F #0F395A
monochromatic
#1A0406 #260608 #5A0F14 #8E1820 #C3202B
Accessibility & contrast
On white
13.88
#5A0F14 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#5A0F14 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F14
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F14 | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262213
Deuteranopia (green-blind)
#383211
Tritanopia (blue-blind)
#640012
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #5a0f14; /* rgb */ color: rgb(90, 15, 20); /* oklch */ color: oklch(30.8% 0.107 23.0);
Tailwind
colors: {
custom: {
50: '#8f5551',
500: '#5a0f14',
950: '#000000',
},
}SCSS
$custom: #5a0f14; $custom-light: #8f5551; $custom-dark: #000000;
JSON
{
"hex": "#5a0f14",
"rgb": {
"r": 90,
"g": 15,
"b": 20
},
"hsl": {
"h": 356,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.308,
"c": 0.10657,
"h": 23
},
"luminance": 0.02566
}Semantic roles & 50–950 ramp
primary
#5A0F14
secondary
#31948D
accent
#EEE23A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878