#7F2F31#7F2F31
#7F2F31 is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.111 H 21.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2F31 |
|---|---|
| RGB | rgb(127, 47, 49) |
| HSL | hsl(359, 46%, 34%) |
| HSV | hsv(359, 63%, 50%) |
| CMYK | cmyk(0%, 63%, 61.4%, 50.2%) |
| CIE-LAB | lab(31.27, 34.80, 16.91) |
| CIE-LCH | lch(31.27, 38.70, 25.92°) |
| OKLab | oklab(42.09% 0.1033 0.0411) |
| OKLCH | oklch(42.09% 0.111 21.7) |
| XYZ | xyz(10.3242, 6.7681, 3.6679) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 4.56
Burgundy
#800020
ΔE00 6.42
Wine Red
#7B0323
ΔE00 6.65
Red Wine
#8C0034
ΔE00 8.16
Bordeaux
#7B002C
ΔE00 8.32
Purple Brown
#673A3F
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2F31 #2F7F7D
analogous
#7F2F59 #7F2F31 #7F552F
triadic
#7F2F31 #317F2F #2F317F
tetradic
#7F2F31 #597F2F #2F7F7D #552F7F
square
#7F2F31 #597F2F #2F7F7D #552F7F
split-complementary
#7F2F31 #2F7F55 #2F597F
monochromatic
#260E0F #521E20 #7F2F31 #AC4042 #C56366
Accessibility & contrast
On white
8.92
#7F2F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7F2F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2F31
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2F31 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433F30
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#8B2030
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2f31; /* rgb */ color: rgb(127, 47, 49); /* oklch */ color: oklch(42.1% 0.111 21.7);
Tailwind
colors: {
custom: {
50: '#a96b69',
500: '#7f2f31',
950: '#000000',
},
}SCSS
$custom: #7f2f31; $custom-light: #a96b69; $custom-dark: #000000;
JSON
{
"hex": "#7f2f31",
"rgb": {
"r": 127,
"g": 47,
"b": 49
},
"hsl": {
"h": 358.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.42093,
"c": 0.11115,
"h": 21.7
},
"luminance": 0.06767
}Semantic roles & 50–950 ramp
primary
#7F2F31
secondary
#5EACAA
accent
#D6D252
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A