#7F2212#7F2212
#7F2212 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 32.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2212 |
|---|---|
| RGB | rgb(127, 34, 18) |
| HSL | hsl(9, 75%, 28%) |
| HSV | hsv(9, 86%, 50%) |
| CMYK | cmyk(0%, 73.2%, 85.8%, 50.2%) |
| CIE-LAB | lab(28.65, 39.07, 32.77) |
| CIE-LCH | lch(28.65, 50.99, 39.99°) |
| OKLab | oklab(39.98% 0.1102 0.0695) |
| OKLCH | oklch(39.98% 0.13 32.2) |
| XYZ | xyz(9.4347, 5.7012, 1.1758) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.92
Red Brown
#8B2E16
ΔE00 3.74
Dark Red
#840000
ΔE00 3.81
Maroon
#800000
ΔE00 3.86
Brick Red
#8F1402
ΔE00 4.05
Darkred
#8B0000
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2212 #126F7F
analogous
#7F1238 #7F2212 #7F5812
triadic
#7F2212 #127F22 #22127F
tetradic
#7F2212 #387F12 #126F7F #58127F
square
#7F2212 #387F12 #126F7F #58127F
split-complementary
#7F2212 #127F58 #12387F
monochromatic
#1B0704 #49140A #7F2212 #B5301A #E1452B
Accessibility & contrast
On white
9.81
#7F2212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F2212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2212
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2212 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E360F
Deuteranopia (green-blind)
#554B0D
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2212; /* rgb */ color: rgb(127, 34, 18); /* oklch */ color: oklch(40.0% 0.130 32.2);
Tailwind
colors: {
custom: {
50: '#ac6452',
500: '#7f2212',
950: '#000000',
},
}SCSS
$custom: #7f2212; $custom-light: #ac6452; $custom-dark: #000000;
JSON
{
"hex": "#7f2212",
"rgb": {
"r": 127,
"g": 34,
"b": 18
},
"hsl": {
"h": 8.807,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39981,
"c": 0.13027,
"h": 32.2
},
"luminance": 0.057
}Semantic roles & 50–950 ramp
primary
#7F2212
secondary
#38A2B5
accent
#D6F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78