#5F1215#5F1215
#5F1215 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 24.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1215 |
|---|---|
| RGB | rgb(95, 18, 21) |
| HSL | hsl(358, 68%, 22%) |
| HSV | hsv(358, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 77.9%, 62.7%) |
| CIE-LAB | lab(19.72, 34.26, 19.62) |
| CIE-LCH | lch(19.72, 39.48, 29.80°) |
| OKLab | oklab(32.12% 0.0998 0.0446) |
| OKLCH | oklch(32.12% 0.109 24.1) |
| XYZ | xyz(5.0716, 2.9204, 1.0060) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 2.96
Claret
#680018
ΔE00 3.70
Dried Blood
#4B0101
ΔE00 4.70
Mahogany
#4A0100
ΔE00 4.90
Reddy Brown
#6E1005
ΔE00 6.30
Deep Brown
#410200
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1215 #125F5C
analogous
#5F123C #5F1215 #5F3512
triadic
#5F1215 #155F12 #12155F
tetradic
#5F1215 #3C5F12 #125F5C #35125F
square
#5F1215 #3C5F12 #125F5C #35125F
split-complementary
#5F1215 #125F35 #123C5F
monochromatic
#1A0506 #2C080A #5F1215 #921C20 #C6252C
Accessibility & contrast
On white
13.26
#5F1215 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5F1215 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1215
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1215 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1215 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292514
Deuteranopia (green-blind)
#3C3612
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1215; /* rgb */ color: rgb(95, 18, 21); /* oklch */ color: oklch(32.1% 0.109 24.1);
Tailwind
colors: {
custom: {
50: '#935752',
500: '#5f1215',
950: '#000000',
},
}SCSS
$custom: #5f1215; $custom-light: #935752; $custom-dark: #000000;
JSON
{
"hex": "#5f1215",
"rgb": {
"r": 95,
"g": 18,
"b": 21
},
"hsl": {
"h": 357.662,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32121,
"c": 0.10926,
"h": 24.1
},
"luminance": 0.0292
}Semantic roles & 50–950 ramp
primary
#5F1215
secondary
#369793
accent
#EBE43D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878