#5C121A#5C121A
#5C121A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.105 H 20.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5C121A |
|---|---|
| RGB | rgb(92, 18, 26) |
| HSL | hsl(354, 67%, 22%) |
| HSV | hsv(354, 80%, 36%) |
| CMYK | cmyk(0%, 80.4%, 71.7%, 63.9%) |
| CIE-LAB | lab(19.15, 33.51, 15.36) |
| CIE-LCH | lch(19.15, 36.86, 24.63°) |
| OKLab | oklab(31.61% 0.099 0.0362) |
| OKLCH | oklch(31.61% 0.105 20.1) |
| XYZ | xyz(4.8169, 2.7832, 1.2607) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.30
Maroon (survey)
#650021
ΔE00 4.79
Rosewood
#65000B
ΔE00 4.98
Dried Blood
#4B0101
ΔE00 5.10
Mahogany
#4A0100
ΔE00 5.30
Burgundy (survey)
#610023
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C121A #125C54
analogous
#5C123F #5C121A #5C2F12
triadic
#5C121A #1A5C12 #121A5C
tetradic
#5C121A #3F5C12 #125C54 #2F125C
square
#5C121A #3F5C12 #125C54 #2F125C
split-complementary
#5C121A #125C2F #123F5C
monochromatic
#1A0507 #29080C #5C121A #8F1C28 #C22637
Accessibility & contrast
On white
13.49
#5C121A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5C121A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C121A
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C121A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C121A | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#3A3418
Tritanopia (blue-blind)
#660016
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5c121a; /* rgb */ color: rgb(92, 18, 26); /* oklch */ color: oklch(31.6% 0.105 20.1);
Tailwind
colors: {
custom: {
50: '#905756',
500: '#5c121a',
950: '#000000',
},
}SCSS
$custom: #5c121a; $custom-light: #905756; $custom-dark: #000000;
JSON
{
"hex": "#5c121a",
"rgb": {
"r": 92,
"g": 18,
"b": 26
},
"hsl": {
"h": 353.514,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.31608,
"c": 0.10545,
"h": 20.1
},
"luminance": 0.02783
}Semantic roles & 50–950 ramp
primary
#5C121A
secondary
#35948A
accent
#EAD83E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878