#5F1C0C#5F1C0C
#5F1C0C is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.2% C 0.101 H 34.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1C0C |
|---|---|
| RGB | rgb(95, 28, 12) |
| HSL | hsl(12, 78%, 21%) |
| HSV | hsv(12, 87%, 37%) |
| CMYK | cmyk(0%, 70.5%, 87.4%, 62.7%) |
| CIE-LAB | lab(21.17, 29.60, 26.36) |
| CIE-LCH | lch(21.17, 39.64, 41.68°) |
| OKLab | oklab(33.17% 0.0831 0.0572) |
| OKLCH | oklch(33.17% 0.101 34.5) |
| XYZ | xyz(5.2015, 3.2907, 0.7090) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 4.05
Rosewood
#65000B
ΔE00 6.11
Blood
#770001
ΔE00 6.27
Chestnut
#742802
ΔE00 7.14
Maroon
#800000
ΔE00 7.55
Chocolate Brown
#411900
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1C0C #0C4F5F
analogous
#5F0C25 #5F1C0C #5F450C
triadic
#5F1C0C #0C5F1C #1C0C5F
tetradic
#5F1C0C #255F0C #0C4F5F #450C5F
square
#5F1C0C #255F0C #0C4F5F #450C5F
split-complementary
#5F1C0C #0C5F45 #0C255F
monochromatic
#1B0803 #290C05 #5F1C0C #952C13 #CC3C1A
Accessibility & contrast
On white
12.67
#5F1C0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5F1C0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1C0C
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1C0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1C0C | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2909
Deuteranopia (green-blind)
#403809
Tritanopia (blue-blind)
#690819
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f1c0c; /* rgb */ color: rgb(95, 28, 12); /* oklch */ color: oklch(33.2% 0.101 34.5);
Tailwind
colors: {
custom: {
50: '#935c4c',
500: '#5f1c0c',
950: '#000000',
},
}SCSS
$custom: #5f1c0c; $custom-light: #935c4c; $custom-dark: #000000;
JSON
{
"hex": "#5f1c0c",
"rgb": {
"r": 95,
"g": 28,
"b": 12
},
"hsl": {
"h": 11.566,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.33171,
"c": 0.10093,
"h": 34.5
},
"luminance": 0.0329
}Semantic roles & 50–950 ramp
primary
#5F1C0C
secondary
#2D8599
accent
#CFF434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977