#7F2231#7F2231
#7F2231 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.127 H 15.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2231 |
|---|---|
| RGB | rgb(127, 34, 49) |
| HSL | hsl(350, 58%, 32%) |
| HSV | hsv(350, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 61.4%, 50.2%) |
| CIE-LAB | lab(29.11, 40.67, 14.06) |
| CIE-LCH | lch(29.11, 43.03, 19.07°) |
| OKLab | oklab(40.47% 0.1219 0.0345) |
| OKLCH | oklch(40.47% 0.127 15.8) |
| XYZ | xyz(9.8798, 5.8792, 3.5197) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 4.01
Wine
#722F37
ΔE00 4.21
Bordeaux
#7B002C
ΔE00 4.57
Red Wine
#8C0034
ΔE00 4.59
Burgundy
#800020
ΔE00 4.64
Cranberry
#9E003A
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2231 #227F70
analogous
#7F2260 #7F2231 #7F4222
triadic
#7F2231 #317F22 #22317F
tetradic
#7F2231 #607F22 #227F70 #42227F
square
#7F2231 #607F22 #227F70 #42227F
split-complementary
#7F2231 #227F42 #22607F
monochromatic
#1E080C #4F151E #7F2231 #AF2F44 #CF4C61
Accessibility & contrast
On white
9.65
#7F2231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F2231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2231
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2231 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#524C2F
Tritanopia (blue-blind)
#8B0928
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2231; /* rgb */ color: rgb(127, 34, 49); /* oklch */ color: oklch(40.5% 0.127 15.8);
Tailwind
colors: {
custom: {
50: '#aa6468',
500: '#7f2231',
950: '#000000',
},
}SCSS
$custom: #7f2231; $custom-light: #aa6468; $custom-dark: #000000;
JSON
{
"hex": "#7f2231",
"rgb": {
"r": 127,
"g": 34,
"b": 49
},
"hsl": {
"h": 350.323,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40472,
"c": 0.1267,
"h": 15.8
},
"luminance": 0.05878
}Semantic roles & 50–950 ramp
primary
#7F2231
secondary
#4BB2A1
accent
#E1C847
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A