#5A0F12#5A0F12
#5A0F12 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.107 H 24.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F12 |
|---|---|
| RGB | rgb(90, 15, 18) |
| HSL | hsl(358, 71%, 21%) |
| HSV | hsv(358, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 80%, 64.7%) |
| CIE-LAB | lab(18.19, 33.49, 19.49) |
| CIE-LCH | lch(18.19, 38.75, 30.20°) |
| OKLab | oklab(30.77% 0.0973 0.0441) |
| OKLCH | oklch(30.77% 0.107 24.4) |
| XYZ | xyz(4.4970, 2.5597, 0.8294) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.23
Dried Blood
#4B0101
ΔE00 3.62
Mahogany
#4A0100
ΔE00 3.81
Claret
#680018
ΔE00 4.21
Deep Brown
#410200
ΔE00 5.56
Reddy Brown
#6E1005
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F12 #0F5A57
analogous
#5A0F37 #5A0F12 #5A310F
triadic
#5A0F12 #125A0F #0F125A
tetradic
#5A0F12 #375A0F #0F5A57 #310F5A
square
#5A0F12 #375A0F #0F5A57 #310F5A
split-complementary
#5A0F12 #0F5A31 #0F375A
monochromatic
#1A0405 #260608 #5A0F12 #8E181C #C32027
Accessibility & contrast
On white
13.89
#5A0F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#5A0F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F12
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F12 | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#39320F
Tritanopia (blue-blind)
#640011
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #5a0f12; /* rgb */ color: rgb(90, 15, 18); /* oklch */ color: oklch(30.8% 0.107 24.4);
Tailwind
colors: {
custom: {
50: '#8f5550',
500: '#5a0f12',
950: '#000000',
},
}SCSS
$custom: #5a0f12; $custom-light: #8f5550; $custom-dark: #000000;
JSON
{
"hex": "#5a0f12",
"rgb": {
"r": 90,
"g": 15,
"b": 18
},
"hsl": {
"h": 357.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30768,
"c": 0.10679,
"h": 24.4
},
"luminance": 0.02559
}Semantic roles & 50–950 ramp
primary
#5A0F12
secondary
#319490
accent
#EEE73A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878