#7E2127#7E2127
#7E2127 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 21.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2127 |
|---|---|
| RGB | rgb(126, 33, 39) |
| HSL | hsl(356, 58%, 31%) |
| HSV | hsv(356, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 69%, 50.6%) |
| CIE-LAB | lab(28.57, 40.07, 19.90) |
| CIE-LCH | lch(28.57, 44.73, 26.41°) |
| OKLab | oklab(39.97% 0.118 0.0469) |
| OKLCH | oklch(39.97% 0.127 21.7) |
| XYZ | xyz(9.5153, 5.6712, 2.5127) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.68
Wine Red
#7B0323
ΔE00 4.31
Wine
#722F37
ΔE00 6.02
Claret
#680018
ΔE00 6.31
Crimson (survey)
#8C000F
ΔE00 6.84
Bordeaux
#7B002C
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2127 #217E78
analogous
#7E2155 #7E2127 #7E4921
triadic
#7E2127 #277E21 #21277E
tetradic
#7E2127 #557E21 #217E78 #49217E
square
#7E2127 #557E21 #217E78 #49217E
split-complementary
#7E2127 #217E49 #21557E
monochromatic
#1D0809 #4E1418 #7E2127 #AE2E36 #D04A52
Accessibility & contrast
On white
9.84
#7E2127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E2127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2127
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2127 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#524B24
Tritanopia (blue-blind)
#8B0324
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2127; /* rgb */ color: rgb(126, 33, 39); /* oklch */ color: oklch(40.0% 0.127 21.7);
Tailwind
colors: {
custom: {
50: '#aa6461',
500: '#7e2127',
950: '#000000',
},
}SCSS
$custom: #7e2127; $custom-light: #aa6461; $custom-dark: #000000;
JSON
{
"hex": "#7e2127",
"rgb": {
"r": 126,
"g": 33,
"b": 39
},
"hsl": {
"h": 356.129,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.39972,
"c": 0.127,
"h": 21.7
},
"luminance": 0.0567
}Semantic roles & 50–950 ramp
primary
#7E2127
secondary
#4AB1AA
accent
#E2D846
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79