#7F211A#7F211A
#7F211A is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 28.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F211A |
|---|---|
| RGB | rgb(127, 33, 26) |
| HSL | hsl(4, 66%, 30%) |
| HSV | hsv(4, 80%, 50%) |
| CMYK | cmyk(0%, 74%, 79.5%, 50.2%) |
| CIE-LAB | lab(28.58, 39.76, 28.15) |
| CIE-LCH | lch(28.58, 48.71, 35.30°) |
| OKLab | oklab(39.96% 0.114 0.0622) |
| OKLCH | oklch(39.96% 0.13 28.6) |
| XYZ | xyz(9.4838, 5.6758, 1.5732) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.96
Indian Red
#850E04
ΔE00 4.36
Maroon
#800000
ΔE00 4.65
Blood
#770001
ΔE00 4.75
Dark Red
#840000
ΔE00 4.77
Reddy Brown
#6E1005
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F211A #1A787F
analogous
#7F1A46 #7F211A #7F531A
triadic
#7F211A #1A7F21 #211A7F
tetradic
#7F211A #467F1A #1A787F #531A7F
square
#7F211A #467F1A #1A787F #531A7F
split-complementary
#7F211A #1A7F53 #1A467F
monochromatic
#190705 #4C1410 #7F211A #B22E24 #D7473C
Accessibility & contrast
On white
9.84
#7F211A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F211A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F211A
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F211A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F211A | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3618
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f211a; /* rgb */ color: rgb(127, 33, 26); /* oklch */ color: oklch(40.0% 0.130 28.6);
Tailwind
colors: {
custom: {
50: '#ac6357',
500: '#7f211a',
950: '#000000',
},
}SCSS
$custom: #7f211a; $custom-light: #ac6357; $custom-dark: #000000;
JSON
{
"hex": "#7f211a",
"rgb": {
"r": 127,
"g": 33,
"b": 26
},
"hsl": {
"h": 4.158,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.39957,
"c": 0.12983,
"h": 28.6
},
"luminance": 0.05674
}Semantic roles & 50–950 ramp
primary
#7F211A
secondary
#42ABB3
accent
#DDE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78