#7F212F#7F212F
#7F212F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.128 H 16.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F212F |
|---|---|
| RGB | rgb(127, 33, 47) |
| HSL | hsl(351, 59%, 31%) |
| HSV | hsv(351, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 63%, 50.2%) |
| CIE-LAB | lab(28.92, 40.93, 15.13) |
| CIE-LCH | lch(28.92, 43.63, 20.29°) |
| OKLab | oklab(40.32% 0.1223 0.0369) |
| OKLCH | oklch(40.32% 0.128 16.8) |
| XYZ | xyz(9.8103, 5.8064, 3.2929) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.69
Burgundy
#800020
ΔE00 4.16
Wine
#722F37
ΔE00 4.50
Bordeaux
#7B002C
ΔE00 4.76
Red Wine
#8C0034
ΔE00 4.86
Cranberry
#9E003A
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F212F #217F71
analogous
#7F215E #7F212F #7F4221
triadic
#7F212F #2F7F21 #212F7F
tetradic
#7F212F #5E7F21 #217F71 #42217F
square
#7F212F #5E7F21 #217F71 #42217F
split-complementary
#7F212F #217F42 #215E7F
monochromatic
#1E080B #4E141D #7F212F #B02E41 #D04A5E
Accessibility & contrast
On white
9.72
#7F212F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F212F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F212F
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F212F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F212F | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A382F
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#8C0627
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f212f; /* rgb */ color: rgb(127, 33, 47); /* oklch */ color: oklch(40.3% 0.128 16.8);
Tailwind
colors: {
custom: {
50: '#aa6467',
500: '#7f212f',
950: '#000000',
},
}SCSS
$custom: #7f212f; $custom-light: #aa6467; $custom-dark: #000000;
JSON
{
"hex": "#7f212f",
"rgb": {
"r": 127,
"g": 33,
"b": 47
},
"hsl": {
"h": 351.064,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40319,
"c": 0.12777,
"h": 16.8
},
"luminance": 0.05805
}Semantic roles & 50–950 ramp
primary
#7F212F
secondary
#4AB2A2
accent
#E2CB46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A