#7F222F#7F222F
#7F222F is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.127 H 17.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F222F |
|---|---|
| RGB | rgb(127, 34, 47) |
| HSL | hsl(352, 58%, 32%) |
| HSV | hsv(352, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 63%, 50.2%) |
| CIE-LAB | lab(29.06, 40.53, 15.32) |
| CIE-LCH | lch(29.06, 43.33, 20.71°) |
| OKLab | oklab(40.43% 0.1211 0.0373) |
| OKLCH | oklch(40.43% 0.127 17.1) |
| XYZ | xyz(9.8385, 5.8627, 3.3023) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.83
Burgundy
#800020
ΔE00 4.22
Wine
#722F37
ΔE00 4.44
Bordeaux
#7B002C
ΔE00 5.00
Red Wine
#8C0034
ΔE00 5.08
Cranberry
#9E003A
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F222F #227F72
analogous
#7F225E #7F222F #7F4422
triadic
#7F222F #2F7F22 #222F7F
tetradic
#7F222F #5E7F22 #227F72 #44227F
square
#7F222F #5E7F22 #227F72 #44227F
split-complementary
#7F222F #227F44 #225E7F
monochromatic
#1E080B #4F151D #7F222F #AF2F41 #CF4C5F
Accessibility & contrast
On white
9.67
#7F222F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F222F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F222F
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F222F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F222F | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#524C2D
Tritanopia (blue-blind)
#8B0827
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f222f; /* rgb */ color: rgb(127, 34, 47); /* oklch */ color: oklch(40.4% 0.127 17.1);
Tailwind
colors: {
custom: {
50: '#aa6467',
500: '#7f222f',
950: '#000000',
},
}SCSS
$custom: #7f222f; $custom-light: #aa6467; $custom-dark: #000000;
JSON
{
"hex": "#7f222f",
"rgb": {
"r": 127,
"g": 34,
"b": 47
},
"hsl": {
"h": 351.613,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40427,
"c": 0.12668,
"h": 17.1
},
"luminance": 0.05861
}Semantic roles & 50–950 ramp
primary
#7F222F
secondary
#4BB2A3
accent
#E1CB47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A