#5A0F1F#5A0F1F
#5A0F1F is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.106 H 14.4°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F1F |
|---|---|
| RGB | rgb(90, 15, 31) |
| HSL | hsl(347, 71%, 21%) |
| HSV | hsv(347, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 65.6%, 64.7%) |
| CIE-LAB | lab(18.43, 34.27, 10.82) |
| CIE-LCH | lch(18.43, 35.93, 17.53°) |
| OKLab | oklab(31.03% 0.1029 0.0265) |
| OKLCH | oklch(31.03% 0.106 14.4) |
| XYZ | xyz(4.6351, 2.6149, 1.5567) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 2.96
Burgundy (survey)
#610023
ΔE00 3.22
Claret
#680018
ΔE00 4.65
Dark Maroon
#3C0008
ΔE00 6.66
Bordeaux
#7B002C
ΔE00 6.78
Wine Red
#7B0323
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F1F #0F5A4A
analogous
#5A0F44 #5A0F1F #5A240F
triadic
#5A0F1F #1F5A0F #0F1F5A
tetradic
#5A0F1F #445A0F #0F5A4A #240F5A
square
#5A0F1F #445A0F #0F5A4A #240F5A
split-complementary
#5A0F1F #0F5A24 #0F445A
monochromatic
#1A0409 #26060D #5A0F1F #8E1831 #C32043
Accessibility & contrast
On white
13.79
#5A0F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#5A0F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F1F
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F1F | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#37331D
Tritanopia (blue-blind)
#630016
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f1f; /* rgb */ color: rgb(90, 15, 31); /* oklch */ color: oklch(31.0% 0.106 14.4);
Tailwind
colors: {
custom: {
50: '#8e565a',
500: '#5a0f1f',
950: '#000000',
},
}SCSS
$custom: #5a0f1f; $custom-light: #8e565a; $custom-dark: #000000;
JSON
{
"hex": "#5a0f1f",
"rgb": {
"r": 90,
"g": 15,
"b": 31
},
"hsl": {
"h": 347.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31027,
"c": 0.10626,
"h": 14.4
},
"luminance": 0.02614
}Semantic roles & 50–950 ramp
primary
#5A0F1F
secondary
#31947F
accent
#EEC83A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878