#5A0F13#5A0F13
#5A0F13 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.107 H 23.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F13 |
|---|---|
| RGB | rgb(90, 15, 19) |
| HSL | hsl(357, 71%, 21%) |
| HSV | hsv(357, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 78.9%, 64.7%) |
| CIE-LAB | lab(18.20, 33.53, 18.89) |
| CIE-LCH | lch(18.20, 38.49, 29.39°) |
| OKLab | oklab(30.78% 0.0977 0.0429) |
| OKLCH | oklch(30.78% 0.107 23.7) |
| XYZ | xyz(4.5053, 2.5630, 0.8735) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.41
Dried Blood
#4B0101
ΔE00 3.68
Mahogany
#4A0100
ΔE00 3.87
Claret
#680018
ΔE00 3.98
Deep Brown
#410200
ΔE00 5.52
Maroon (survey)
#650021
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F13 #0F5A56
analogous
#5A0F38 #5A0F13 #5A300F
triadic
#5A0F13 #135A0F #0F135A
tetradic
#5A0F13 #385A0F #0F5A56 #300F5A
square
#5A0F13 #385A0F #0F5A56 #300F5A
split-complementary
#5A0F13 #0F5A30 #0F385A
monochromatic
#1A0406 #260608 #5A0F13 #8E181E #C32029
Accessibility & contrast
On white
13.89
#5A0F13 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#5A0F13 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F13
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F13 | 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)
#262212
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#640011
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #5a0f13; /* rgb */ color: rgb(90, 15, 19); /* oklch */ color: oklch(30.8% 0.107 23.7);
Tailwind
colors: {
custom: {
50: '#8f5550',
500: '#5a0f13',
950: '#000000',
},
}SCSS
$custom: #5a0f13; $custom-light: #8f5550; $custom-dark: #000000;
JSON
{
"hex": "#5a0f13",
"rgb": {
"r": 90,
"g": 15,
"b": 19
},
"hsl": {
"h": 356.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30783,
"c": 0.10668,
"h": 23.7
},
"luminance": 0.02562
}Semantic roles & 50–950 ramp
primary
#5A0F13
secondary
#31948E
accent
#EEE53A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878