#5F180D#5F180D
#5F180D is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.105 H 31.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F180D |
|---|---|
| RGB | rgb(95, 24, 13) |
| HSL | hsl(8, 76%, 21%) |
| HSV | hsv(8, 86%, 37%) |
| CMYK | cmyk(0%, 74.7%, 86.3%, 62.7%) |
| CIE-LAB | lab(20.50, 31.49, 25.16) |
| CIE-LCH | lch(20.50, 40.30, 38.62°) |
| OKLab | oklab(32.67% 0.0892 0.0549) |
| OKLCH | oklch(32.67% 0.105 31.6) |
| XYZ | xyz(5.1192, 3.1160, 0.7126) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.71
Rosewood
#65000B
ΔE00 4.58
Blood
#770001
ΔE00 5.78
Dried Blood
#4B0101
ΔE00 6.40
Mahogany
#4A0100
ΔE00 6.48
Maroon
#800000
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F180D #0D545F
analogous
#5F0D2B #5F180D #5F410D
triadic
#5F180D #0D5F18 #180D5F
tetradic
#5F180D #2B5F0D #0D545F #410D5F
square
#5F180D #2B5F0D #0D545F #410D5F
split-complementary
#5F180D #0D5F41 #0D2B5F
monochromatic
#1B0704 #290A06 #5F180D #952614 #CB331C
Accessibility & contrast
On white
12.94
#5F180D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F180D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F180D
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F180D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F180D | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D270B
Deuteranopia (green-blind)
#3F370A
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f180d; /* rgb */ color: rgb(95, 24, 13); /* oklch */ color: oklch(32.7% 0.105 31.6);
Tailwind
colors: {
custom: {
50: '#935a4d',
500: '#5f180d',
950: '#000000',
},
}SCSS
$custom: #5f180d; $custom-light: #935a4d; $custom-dark: #000000;
JSON
{
"hex": "#5f180d",
"rgb": {
"r": 95,
"g": 24,
"b": 13
},
"hsl": {
"h": 8.049,
"s": 75.926,
"l": 21.176
},
"oklch": {
"l": 0.32672,
"c": 0.10474,
"h": 31.6
},
"luminance": 0.03115
}Semantic roles & 50–950 ramp
primary
#5F180D
secondary
#2F8B99
accent
#D9F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977