#7F2230#7F2230
#7F2230 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.127 H 16.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2230 |
|---|---|
| RGB | rgb(127, 34, 48) |
| HSL | hsl(351, 58%, 32%) |
| HSV | hsv(351, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 62.2%, 50.2%) |
| CIE-LAB | lab(29.08, 40.60, 14.69) |
| CIE-LCH | lch(29.08, 43.17, 19.89°) |
| OKLab | oklab(40.45% 0.1215 0.0359) |
| OKLCH | oklch(40.45% 0.127 16.5) |
| XYZ | xyz(9.8589, 5.8709, 3.4098) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.90
Wine
#722F37
ΔE00 4.31
Burgundy
#800020
ΔE00 4.42
Bordeaux
#7B002C
ΔE00 4.77
Red Wine
#8C0034
ΔE00 4.82
Cranberry
#9E003A
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2230 #227F71
analogous
#7F225F #7F2230 #7F4322
triadic
#7F2230 #307F22 #22307F
tetradic
#7F2230 #5F7F22 #227F71 #43227F
square
#7F2230 #5F7F22 #227F71 #43227F
split-complementary
#7F2230 #227F43 #225F7F
monochromatic
#1E080C #4F151E #7F2230 #AF2F42 #CF4C60
Accessibility & contrast
On white
9.66
#7F2230 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F2230 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2230
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2230 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3830
Deuteranopia (green-blind)
#524C2E
Tritanopia (blue-blind)
#8B0928
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2230; /* rgb */ color: rgb(127, 34, 48); /* oklch */ color: oklch(40.4% 0.127 16.5);
Tailwind
colors: {
custom: {
50: '#aa6468',
500: '#7f2230',
950: '#000000',
},
}SCSS
$custom: #7f2230; $custom-light: #aa6468; $custom-dark: #000000;
JSON
{
"hex": "#7f2230",
"rgb": {
"r": 127,
"g": 34,
"b": 48
},
"hsl": {
"h": 350.968,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40449,
"c": 0.12668,
"h": 16.5
},
"luminance": 0.05869
}Semantic roles & 50–950 ramp
primary
#7F2230
secondary
#4BB2A2
accent
#E1CA47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A