#7F212C#7F212C
#7F212C is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.128 H 18.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F212C |
|---|---|
| RGB | rgb(127, 33, 44) |
| HSL | hsl(353, 59%, 31%) |
| HSV | hsv(353, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 65.4%, 50.2%) |
| CIE-LAB | lab(28.86, 40.72, 17.04) |
| CIE-LCH | lch(28.86, 44.14, 22.70°) |
| OKLab | oklab(40.26% 0.1211 0.041) |
| OKLCH | oklch(40.26% 0.128 18.7) |
| XYZ | xyz(9.7519, 5.7830, 2.9851) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.67
Burgundy
#800020
ΔE00 3.68
Wine
#722F37
ΔE00 4.99
Bordeaux
#7B002C
ΔE00 5.54
Red Wine
#8C0034
ΔE00 5.71
Claret
#680018
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F212C #217F74
analogous
#7F215B #7F212C #7F4521
triadic
#7F212C #2C7F21 #212C7F
tetradic
#7F212C #5B7F21 #217F74 #45217F
square
#7F212C #5B7F21 #217F74 #45217F
split-complementary
#7F212C #217F45 #215B7F
monochromatic
#1E080A #4E141B #7F212C #B02E3D #D04A5A
Accessibility & contrast
On white
9.74
#7F212C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F212C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F212C
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F212C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F212C | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B372C
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#8C0426
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f212c; /* rgb */ color: rgb(127, 33, 44); /* oklch */ color: oklch(40.3% 0.128 18.7);
Tailwind
colors: {
custom: {
50: '#aa6465',
500: '#7f212c',
950: '#000000',
},
}SCSS
$custom: #7f212c; $custom-light: #aa6465; $custom-dark: #000000;
JSON
{
"hex": "#7f212c",
"rgb": {
"r": 127,
"g": 33,
"b": 44
},
"hsl": {
"h": 352.979,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40255,
"c": 0.12781,
"h": 18.7
},
"luminance": 0.05782
}Semantic roles & 50–950 ramp
primary
#7F212C
secondary
#4AB2A6
accent
#E2D046
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A