#5F0F1A#5F0F1A
#5F0F1A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.9% C 0.112 H 19.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5F0F1A |
|---|---|
| RGB | rgb(95, 15, 26) |
| HSL | hsl(352, 73%, 22%) |
| HSV | hsv(352, 84%, 37%) |
| CMYK | cmyk(0%, 84.2%, 72.6%, 62.7%) |
| CIE-LAB | lab(19.43, 35.58, 15.86) |
| CIE-LCH | lch(19.43, 38.95, 24.02°) |
| OKLab | oklab(31.93% 0.1052 0.0372) |
| OKLCH | oklch(31.93% 0.112 19.5) |
| XYZ | xyz(5.0772, 2.8499, 1.2598) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.48
Maroon (survey)
#650021
ΔE00 4.27
Rosewood
#65000B
ΔE00 4.69
Dried Blood
#4B0101
ΔE00 5.43
Burgundy (survey)
#610023
ΔE00 5.49
Mahogany
#4A0100
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F0F1A #0F5F54
analogous
#5F0F42 #5F0F1A #5F2C0F
triadic
#5F0F1A #1A5F0F #0F1A5F
tetradic
#5F0F1A #425F0F #0F5F54 #2C0F5F
square
#5F0F1A #425F0F #0F5F54 #2C0F5F
split-complementary
#5F0F1A #0F5F2C #0F425F
monochromatic
#1A0407 #2A070C #5F0F1A #941728 #C92037
Accessibility & contrast
On white
13.38
#5F0F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5F0F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F0F1A
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F0F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F0F1A | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5f0f1a; /* rgb */ color: rgb(95, 15, 26); /* oklch */ color: oklch(31.9% 0.112 19.5);
Tailwind
colors: {
custom: {
50: '#935656',
500: '#5f0f1a',
950: '#000000',
},
}SCSS
$custom: #5f0f1a; $custom-light: #935656; $custom-dark: #000000;
JSON
{
"hex": "#5f0f1a",
"rgb": {
"r": 95,
"g": 15,
"b": 26
},
"hsl": {
"h": 351.75,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.31933,
"c": 0.11159,
"h": 19.5
},
"luminance": 0.02849
}Semantic roles & 50–950 ramp
primary
#5F0F1A
secondary
#32988A
accent
#EFD638
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878