#7F2131#7F2131
#7F2131 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.128 H 15.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2131 |
|---|---|
| RGB | rgb(127, 33, 49) |
| HSL | hsl(350, 59%, 31%) |
| HSV | hsv(350, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 61.4%, 50.2%) |
| CIE-LAB | lab(28.96, 41.07, 13.87) |
| CIE-LCH | lch(28.96, 43.35, 18.65°) |
| OKLab | oklab(40.37% 0.1232 0.0341) |
| OKLCH | oklch(40.37% 0.128 15.5) |
| XYZ | xyz(9.8516, 5.8229, 3.5103) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.91
Wine
#722F37
ΔE00 4.29
Bordeaux
#7B002C
ΔE00 4.33
Red Wine
#8C0034
ΔE00 4.38
Burgundy
#800020
ΔE00 4.61
Cranberry
#9E003A
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2131 #217F6F
analogous
#7F2160 #7F2131 #7F4021
triadic
#7F2131 #317F21 #21317F
tetradic
#7F2131 #607F21 #217F6F #40217F
square
#7F2131 #607F21 #217F6F #40217F
split-complementary
#7F2131 #217F40 #21607F
monochromatic
#1E080C #4E141E #7F2131 #B02E44 #D04A61
Accessibility & contrast
On white
9.70
#7F2131 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F2131 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2131
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2131 | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#524B2F
Tritanopia (blue-blind)
#8B0728
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2131; /* rgb */ color: rgb(127, 33, 49); /* oklch */ color: oklch(40.4% 0.128 15.5);
Tailwind
colors: {
custom: {
50: '#aa6468',
500: '#7f2131',
950: '#000000',
},
}SCSS
$custom: #7f2131; $custom-light: #aa6468; $custom-dark: #000000;
JSON
{
"hex": "#7f2131",
"rgb": {
"r": 127,
"g": 33,
"b": 49
},
"hsl": {
"h": 349.787,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40365,
"c": 0.1278,
"h": 15.5
},
"luminance": 0.05821
}Semantic roles & 50–950 ramp
primary
#7F2131
secondary
#4AB2A0
accent
#E2C746
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A