#5A121B#5A121B
#5A121B is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.103 H 19.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5A121B |
|---|---|
| RGB | rgb(90, 18, 27) |
| HSL | hsl(353, 67%, 21%) |
| HSV | hsv(353, 80%, 35%) |
| CMYK | cmyk(0%, 80%, 70%, 64.7%) |
| CIE-LAB | lab(18.74, 32.88, 14.05) |
| CIE-LCH | lch(18.74, 35.76, 23.14°) |
| OKLab | oklab(31.23% 0.0976 0.0335) |
| OKLCH | oklch(31.23% 0.103 19) |
| XYZ | xyz(4.6311, 2.6861, 1.3113) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.75
Maroon (survey)
#650021
ΔE00 4.46
Dried Blood
#4B0101
ΔE00 5.29
Burgundy (survey)
#610023
ΔE00 5.31
Mahogany
#4A0100
ΔE00 5.47
Rosewood
#65000B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A121B #125A51
analogous
#5A123F #5A121B #5A2D12
triadic
#5A121B #1B5A12 #121B5A
tetradic
#5A121B #3F5A12 #125A51 #2D125A
square
#5A121B #3F5A12 #125A51 #2D125A
split-complementary
#5A121B #125A2D #123F5A
monochromatic
#1A0508 #27080C #5A121B #8D1C2A #C0263A
Accessibility & contrast
On white
13.66
#5A121B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A121B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A121B
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A121B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A121B | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#393319
Tritanopia (blue-blind)
#630016
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a121b; /* rgb */ color: rgb(90, 18, 27); /* oklch */ color: oklch(31.2% 0.103 19.0);
Tailwind
colors: {
custom: {
50: '#8e5757',
500: '#5a121b',
950: '#000000',
},
}SCSS
$custom: #5a121b; $custom-light: #8e5757; $custom-dark: #000000;
JSON
{
"hex": "#5a121b",
"rgb": {
"r": 90,
"g": 18,
"b": 27
},
"hsl": {
"h": 352.5,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.31229,
"c": 0.10315,
"h": 19
},
"luminance": 0.02685
}Semantic roles & 50–950 ramp
primary
#5A121B
secondary
#359387
accent
#EAD43E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878