#7F1F13#7F1F13
#7F1F13 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.133 H 30.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F13 |
|---|---|
| RGB | rgb(127, 31, 19) |
| HSL | hsl(7, 74%, 29%) |
| HSV | hsv(7, 85%, 50%) |
| CMYK | cmyk(0%, 75.6%, 85%, 50.2%) |
| CIE-LAB | lab(28.22, 40.29, 31.83) |
| CIE-LCH | lch(28.22, 51.35, 38.31°) |
| OKLab | oklab(39.67% 0.1142 0.0678) |
| OKLCH | oklch(39.67% 0.133 30.7) |
| XYZ | xyz(9.3610, 5.5405, 1.1925) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.83
Maroon
#800000
ΔE00 3.46
Dark Red
#840000
ΔE00 3.49
Crimson (survey)
#8C000F
ΔE00 3.92
Darkred
#8B0000
ΔE00 3.95
Blood
#770001
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F13 #13737F
analogous
#7F133D #7F1F13 #7F5513
triadic
#7F1F13 #137F1F #1F137F
tetradic
#7F1F13 #3D7F13 #13737F #55137F
square
#7F1F13 #3D7F13 #13737F #55137F
split-complementary
#7F1F13 #137F55 #133D7F
monochromatic
#1B0604 #4A120B #7F1F13 #B42C1B #E0412D
Accessibility & contrast
On white
9.96
#7F1F13 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1F13 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F13
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F13 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3510
Deuteranopia (green-blind)
#544A0E
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f13; /* rgb */ color: rgb(127, 31, 19); /* oklch */ color: oklch(39.7% 0.133 30.7);
Tailwind
colors: {
custom: {
50: '#ac6252',
500: '#7f1f13',
950: '#000000',
},
}SCSS
$custom: #7f1f13; $custom-light: #ac6252; $custom-dark: #000000;
JSON
{
"hex": "#7f1f13",
"rgb": {
"r": 127,
"g": 31,
"b": 19
},
"hsl": {
"h": 6.667,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.39668,
"c": 0.13279,
"h": 30.7
},
"luminance": 0.05539
}Semantic roles & 50–950 ramp
primary
#7F1F13
secondary
#39A7B4
accent
#DCF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78