#5F1812#5F1812
#5F1812 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 28.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1812 |
|---|---|
| RGB | rgb(95, 24, 18) |
| HSL | hsl(5, 68%, 22%) |
| HSV | hsv(5, 81%, 37%) |
| CMYK | cmyk(0%, 74.7%, 81.1%, 62.7%) |
| CIE-LAB | lab(20.56, 31.69, 22.50) |
| CIE-LCH | lch(20.56, 38.87, 35.38°) |
| OKLab | oklab(32.73% 0.0909 0.0501) |
| OKLCH | oklch(32.73% 0.104 28.8) |
| XYZ | xyz(5.1557, 3.1306, 0.9049) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.78
Reddy Brown
#6E1005
ΔE00 4.55
Dried Blood
#4B0101
ΔE00 5.64
Mahogany
#4A0100
ΔE00 5.76
Claret
#680018
ΔE00 6.19
Blood
#770001
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1812 #12595F
analogous
#5F1233 #5F1812 #5F3F12
triadic
#5F1812 #125F18 #18125F
tetradic
#5F1812 #335F12 #12595F #3F125F
square
#5F1812 #335F12 #12595F #3F125F
split-complementary
#5F1812 #125F3F #12335F
monochromatic
#1A0605 #2C0B08 #5F1812 #92251C #C63225
Accessibility & contrast
On white
12.92
#5F1812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F1812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1812
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1812 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2811
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#690117
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1812; /* rgb */ color: rgb(95, 24, 18); /* oklch */ color: oklch(32.7% 0.104 28.8);
Tailwind
colors: {
custom: {
50: '#935a50',
500: '#5f1812',
950: '#000000',
},
}SCSS
$custom: #5f1812; $custom-light: #935a50; $custom-dark: #000000;
JSON
{
"hex": "#5f1812",
"rgb": {
"r": 95,
"g": 24,
"b": 18
},
"hsl": {
"h": 4.675,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32733,
"c": 0.1038,
"h": 28.8
},
"luminance": 0.0313
}Semantic roles & 50–950 ramp
primary
#5F1812
secondary
#369097
accent
#DDEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978