#7F1212#7F1212
#7F1212 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.143 H 27.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1212 |
|---|---|
| RGB | rgb(127, 18, 18) |
| HSL | hsl(0, 75%, 28%) |
| HSV | hsv(0, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 85.8%, 50.2%) |
| CIE-LAB | lab(26.71, 44.49, 30.96) |
| CIE-LCH | lch(26.71, 54.20, 34.84°) |
| OKLab | oklab(38.54% 0.1271 0.0654) |
| OKLCH | oklch(38.54% 0.143 27.2) |
| XYZ | xyz(9.0790, 4.9898, 1.0572) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.62
Blood
#770001
ΔE00 2.99
Maroon
#800000
ΔE00 3.06
Dark Red
#840000
ΔE00 3.35
Indian Red
#850E04
ΔE00 3.48
Reddy Brown
#6E1005
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1212 #127F7F
analogous
#7F1248 #7F1212 #7F4812
triadic
#7F1212 #127F12 #12127F
tetradic
#7F1212 #487F12 #127F7F #48127F
square
#7F1212 #487F12 #127F7F #48127F
split-complementary
#7F1212 #127F48 #12487F
monochromatic
#1B0404 #490A0A #7F1212 #B51A1A #E12B2B
Accessibility & contrast
On white
10.51
#7F1212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7F1212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1212
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1212 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363010
Deuteranopia (green-blind)
#51470C
Tritanopia (blue-blind)
#8D0014
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7f1212; /* rgb */ color: rgb(127, 18, 18); /* oklch */ color: oklch(38.5% 0.143 27.2);
Tailwind
colors: {
custom: {
50: '#ad5d51',
500: '#7f1212',
950: '#000000',
},
}SCSS
$custom: #7f1212; $custom-light: #ad5d51; $custom-dark: #000000;
JSON
{
"hex": "#7f1212",
"rgb": {
"r": 127,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.38536,
"c": 0.14298,
"h": 27.2
},
"luminance": 0.04988
}Semantic roles & 50–950 ramp
primary
#7F1212
secondary
#38B5B5
accent
#F2F236
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978