#7F2226#7F2226
#7F2226 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.127 H 22.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2226 |
|---|---|
| RGB | rgb(127, 34, 38) |
| HSL | hsl(357, 58%, 32%) |
| HSV | hsv(357, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 70.1%, 50.2%) |
| CIE-LAB | lab(28.90, 39.94, 21.00) |
| CIE-LCH | lch(28.90, 45.13, 27.73°) |
| OKLab | oklab(40.25% 0.1173 0.0491) |
| OKLCH | oklch(40.25% 0.127 22.7) |
| XYZ | xyz(9.6753, 5.7974, 2.4429) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.07
Wine Red
#7B0323
ΔE00 4.89
Crimson (survey)
#8C000F
ΔE00 6.30
Wine
#722F37
ΔE00 6.49
Claret
#680018
ΔE00 6.71
Rosewood
#65000B
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2226 #227F7B
analogous
#7F2255 #7F2226 #7F4D22
triadic
#7F2226 #267F22 #22267F
tetradic
#7F2226 #557F22 #227F7B #4D227F
square
#7F2226 #557F22 #227F7B #4D227F
split-complementary
#7F2226 #227F4D #22557F
monochromatic
#1E0809 #4F1518 #7F2226 #AF2F34 #CF4C52
Accessibility & contrast
On white
9.73
#7F2226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F2226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2226
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2226 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3725
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#8C0424
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2226; /* rgb */ color: rgb(127, 34, 38); /* oklch */ color: oklch(40.2% 0.127 22.7);
Tailwind
colors: {
custom: {
50: '#ab6460',
500: '#7f2226',
950: '#000000',
},
}SCSS
$custom: #7f2226; $custom-light: #ab6460; $custom-dark: #000000;
JSON
{
"hex": "#7f2226",
"rgb": {
"r": 127,
"g": 34,
"b": 38
},
"hsl": {
"h": 357.419,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40248,
"c": 0.12717,
"h": 22.7
},
"luminance": 0.05796
}Semantic roles & 50–950 ramp
primary
#7F2226
secondary
#4BB2AD
accent
#E1DA47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79