#7E1E27#7E1E27
#7E1E27 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 20.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E27 |
|---|---|
| RGB | rgb(126, 30, 39) |
| HSL | hsl(354, 62%, 31%) |
| HSV | hsv(354, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 69%, 50.6%) |
| CIE-LAB | lab(28.15, 41.23, 19.37) |
| CIE-LCH | lch(28.15, 45.55, 25.17°) |
| OKLab | oklab(39.66% 0.1218 0.0457) |
| OKLCH | oklch(39.66% 0.13 20.6) |
| XYZ | xyz(9.4357, 5.5121, 2.4862) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.08
Wine Red
#7B0323
ΔE00 3.59
Claret
#680018
ΔE00 5.88
Wine
#722F37
ΔE00 5.97
Bordeaux
#7B002C
ΔE00 6.27
Red Wine
#8C0034
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E27 #1E7E75
analogous
#7E1E57 #7E1E27 #7E451E
triadic
#7E1E27 #277E1E #1E277E
tetradic
#7E1E27 #577E1E #1E7E75 #451E7E
square
#7E1E27 #577E1E #1E7E75 #451E7E
split-complementary
#7E1E27 #1E7E45 #1E577E
monochromatic
#1B0608 #4D1218 #7E1E27 #AF2A36 #D24451
Accessibility & contrast
On white
9.99
#7E1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1E27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E27
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E27 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1e27; /* rgb */ color: rgb(126, 30, 39); /* oklch */ color: oklch(39.7% 0.130 20.6);
Tailwind
colors: {
custom: {
50: '#aa6261',
500: '#7e1e27',
950: '#000000',
},
}SCSS
$custom: #7e1e27; $custom-light: #aa6261; $custom-dark: #000000;
JSON
{
"hex": "#7e1e27",
"rgb": {
"r": 126,
"g": 30,
"b": 39
},
"hsl": {
"h": 354.375,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.39659,
"c": 0.13004,
"h": 20.6
},
"luminance": 0.05511
}Semantic roles & 50–950 ramp
primary
#7E1E27
secondary
#47B1A7
accent
#E5D543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79