#7F212D#7F212D
#7F212D is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.128 H 18.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F212D |
|---|---|
| RGB | rgb(127, 33, 45) |
| HSL | hsl(352, 59%, 31%) |
| HSV | hsv(352, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 64.6%, 50.2%) |
| CIE-LAB | lab(28.88, 40.79, 16.40) |
| CIE-LCH | lch(28.88, 43.96, 21.91°) |
| OKLab | oklab(40.28% 0.1215 0.0396) |
| OKLCH | oklch(40.28% 0.128 18.1) |
| XYZ | xyz(9.7709, 5.7906, 3.0853) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.63
Burgundy
#800020
ΔE00 3.81
Wine
#722F37
ΔE00 4.81
Bordeaux
#7B002C
ΔE00 5.26
Red Wine
#8C0034
ΔE00 5.41
Claret
#680018
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F212D #217F73
analogous
#7F215C #7F212D #7F4421
triadic
#7F212D #2D7F21 #212D7F
tetradic
#7F212D #5C7F21 #217F73 #44217F
square
#7F212D #5C7F21 #217F73 #44217F
split-complementary
#7F212D #217F44 #215C7F
monochromatic
#1E080B #4E141C #7F212D #B02E3E #D04A5B
Accessibility & contrast
On white
9.73
#7F212D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F212D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F212D
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F212D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F212D | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A372D
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#8C0526
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f212d; /* rgb */ color: rgb(127, 33, 45); /* oklch */ color: oklch(40.3% 0.128 18.1);
Tailwind
colors: {
custom: {
50: '#aa6465',
500: '#7f212d',
950: '#000000',
},
}SCSS
$custom: #7f212d; $custom-light: #aa6465; $custom-dark: #000000;
JSON
{
"hex": "#7f212d",
"rgb": {
"r": 127,
"g": 33,
"b": 45
},
"hsl": {
"h": 352.34,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40276,
"c": 0.12778,
"h": 18.1
},
"luminance": 0.05789
}Semantic roles & 50–950 ramp
primary
#7F212D
secondary
#4AB2A4
accent
#E2CE46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A