#5A0F1B#5A0F1B
#5A0F1B is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.9% C 0.106 H 17.7°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F1B |
|---|---|
| RGB | rgb(90, 15, 27) |
| HSL | hsl(350, 71%, 21%) |
| HSV | hsv(350, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 70%, 64.7%) |
| CIE-LAB | lab(18.34, 33.99, 13.55) |
| CIE-LCH | lch(18.34, 36.59, 21.73°) |
| OKLab | oklab(30.94% 0.1011 0.0323) |
| OKLCH | oklch(30.94% 0.106 17.7) |
| XYZ | xyz(4.5856, 2.5951, 1.2962) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.63
Maroon (survey)
#650021
ΔE00 3.84
Burgundy (survey)
#610023
ΔE00 4.65
Dried Blood
#4B0101
ΔE00 5.49
Mahogany
#4A0100
ΔE00 5.68
Rosewood
#65000B
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F1B #0F5A4E
analogous
#5A0F40 #5A0F1B #5A280F
triadic
#5A0F1B #1B5A0F #0F1B5A
tetradic
#5A0F1B #405A0F #0F5A4E #280F5A
square
#5A0F1B #405A0F #0F5A4E #280F5A
split-complementary
#5A0F1B #0F5A28 #0F405A
monochromatic
#1A0408 #26060B #5A0F1B #8E182B #C3203A
Accessibility & contrast
On white
13.83
#5A0F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#5A0F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F1B
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F1B | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#383219
Tritanopia (blue-blind)
#630014
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f1b; /* rgb */ color: rgb(90, 15, 27); /* oklch */ color: oklch(30.9% 0.106 17.7);
Tailwind
colors: {
custom: {
50: '#8f5557',
500: '#5a0f1b',
950: '#000000',
},
}SCSS
$custom: #5a0f1b; $custom-light: #8f5557; $custom-dark: #000000;
JSON
{
"hex": "#5a0f1b",
"rgb": {
"r": 90,
"g": 15,
"b": 27
},
"hsl": {
"h": 350.4,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30935,
"c": 0.10617,
"h": 17.7
},
"luminance": 0.02594
}Semantic roles & 50–950 ramp
primary
#5A0F1B
secondary
#319484
accent
#EED13A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878