#5F1212#5F1212
#5F1212 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.110 H 26.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1212 |
|---|---|
| RGB | rgb(95, 18, 18) |
| HSL | hsl(0, 68%, 22%) |
| HSV | hsv(0, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 81.1%, 62.7%) |
| CIE-LAB | lab(19.68, 34.12, 21.51) |
| CIE-LCH | lch(19.68, 40.34, 32.23°) |
| OKLab | oklab(32.08% 0.0986 0.048) |
| OKLCH | oklch(32.08% 0.11 26) |
| XYZ | xyz(5.0454, 2.9100, 0.8682) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 2.59
Claret
#680018
ΔE00 4.60
Dried Blood
#4B0101
ΔE00 4.73
Mahogany
#4A0100
ΔE00 4.91
Reddy Brown
#6E1005
ΔE00 5.27
Blood
#770001
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1212 #125F5F
analogous
#5F1239 #5F1212 #5F3912
triadic
#5F1212 #125F12 #12125F
tetradic
#5F1212 #395F12 #125F5F #39125F
square
#5F1212 #395F12 #125F5F #39125F
split-complementary
#5F1212 #125F39 #12395F
monochromatic
#1A0505 #2C0808 #5F1212 #921C1C #C62525
Accessibility & contrast
On white
13.28
#5F1212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5F1212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1212
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1212 | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292511
Deuteranopia (green-blind)
#3C360F
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1212; /* rgb */ color: rgb(95, 18, 18); /* oklch */ color: oklch(32.1% 0.110 26.0);
Tailwind
colors: {
custom: {
50: '#935750',
500: '#5f1212',
950: '#000000',
},
}SCSS
$custom: #5f1212; $custom-light: #935750; $custom-dark: #000000;
JSON
{
"hex": "#5f1212",
"rgb": {
"r": 95,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32076,
"c": 0.10964,
"h": 26
},
"luminance": 0.02909
}Semantic roles & 50–950 ramp
primary
#5F1212
secondary
#369797
accent
#EBEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878