#7F212A#7F212A
#7F212A is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 19.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F212A |
|---|---|
| RGB | rgb(127, 33, 42) |
| HSL | hsl(354, 59%, 31%) |
| HSV | hsv(354, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 66.9%, 50.2%) |
| CIE-LAB | lab(28.82, 40.59, 18.30) |
| CIE-LCH | lch(28.82, 44.52, 24.27°) |
| OKLab | oklab(40.21% 0.1202 0.0436) |
| OKLCH | oklch(40.21% 0.128 19.9) |
| XYZ | xyz(9.7152, 5.7683, 2.7919) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.56
Wine Red
#7B0323
ΔE00 3.86
Wine
#722F37
ΔE00 5.42
Bordeaux
#7B002C
ΔE00 6.14
Red Wine
#8C0034
ΔE00 6.34
Claret
#680018
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F212A #217F76
analogous
#7F2159 #7F212A #7F4721
triadic
#7F212A #2A7F21 #212A7F
tetradic
#7F212A #597F21 #217F76 #47217F
square
#7F212A #597F21 #217F76 #47217F
split-complementary
#7F212A #217F47 #21597F
monochromatic
#1E080A #4E141A #7F212A #B02E3A #D04A57
Accessibility & contrast
On white
9.75
#7F212A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F212A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F212A
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F212A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F212A | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#8C0325
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f212a; /* rgb */ color: rgb(127, 33, 42); /* oklch */ color: oklch(40.2% 0.128 19.9);
Tailwind
colors: {
custom: {
50: '#aa6463',
500: '#7f212a',
950: '#000000',
},
}SCSS
$custom: #7f212a; $custom-light: #aa6463; $custom-dark: #000000;
JSON
{
"hex": "#7f212a",
"rgb": {
"r": 127,
"g": 33,
"b": 42
},
"hsl": {
"h": 354.255,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40214,
"c": 0.12789,
"h": 19.9
},
"luminance": 0.05767
}Semantic roles & 50–950 ramp
primary
#7F212A
secondary
#4AB2A8
accent
#E2D346
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79