#7F2126#7F2126
#7F2126 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.128 H 22.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2126 |
|---|---|
| RGB | rgb(127, 33, 38) |
| HSL | hsl(357, 59%, 31%) |
| HSV | hsv(357, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 70.1%, 50.2%) |
| CIE-LAB | lab(28.75, 40.35, 20.82) |
| CIE-LCH | lch(28.75, 45.40, 27.29°) |
| OKLab | oklab(40.14% 0.1186 0.0487) |
| OKLCH | oklch(40.14% 0.128 22.3) |
| XYZ | xyz(9.6471, 5.7411, 2.4335) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.83
Wine Red
#7B0323
ΔE00 4.64
Crimson (survey)
#8C000F
ΔE00 6.38
Wine
#722F37
ΔE00 6.44
Claret
#680018
ΔE00 6.54
Rosewood
#65000B
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2126 #217F7A
analogous
#7F2155 #7F2126 #7F4B21
triadic
#7F2126 #267F21 #21267F
tetradic
#7F2126 #557F21 #217F7A #4B217F
square
#7F2126 #557F21 #217F7A #4B217F
split-complementary
#7F2126 #217F4B #21557F
monochromatic
#1E0809 #4E1417 #7F2126 #B02E35 #D04A51
Accessibility & contrast
On white
9.78
#7F2126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F2126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2126
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2126 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3725
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#8C0124
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2126; /* rgb */ color: rgb(127, 33, 38); /* oklch */ color: oklch(40.1% 0.128 22.3);
Tailwind
colors: {
custom: {
50: '#ab6460',
500: '#7f2126',
950: '#000000',
},
}SCSS
$custom: #7f2126; $custom-light: #ab6460; $custom-dark: #000000;
JSON
{
"hex": "#7f2126",
"rgb": {
"r": 127,
"g": 33,
"b": 38
},
"hsl": {
"h": 356.809,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40139,
"c": 0.1282,
"h": 22.3
},
"luminance": 0.0574
}Semantic roles & 50–950 ramp
primary
#7F2126
secondary
#4AB2AC
accent
#E2DA46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79