#7E1B27#7E1B27
#7E1B27 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.133 H 19.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B27 |
|---|---|
| RGB | rgb(126, 27, 39) |
| HSL | hsl(353, 65%, 30%) |
| HSV | hsv(353, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 69%, 50.6%) |
| CIE-LAB | lab(27.76, 42.32, 18.89) |
| CIE-LCH | lch(27.76, 46.34, 24.05°) |
| OKLab | oklab(39.37% 0.1252 0.0446) |
| OKLCH | oklch(39.37% 0.133 19.6) |
| XYZ | xyz(9.3633, 5.3674, 2.4620) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.60
Wine Red
#7B0323
ΔE00 2.95
Claret
#680018
ΔE00 5.54
Bordeaux
#7B002C
ΔE00 5.62
Wine
#722F37
ΔE00 6.00
Red Wine
#8C0034
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B27 #1B7E72
analogous
#7E1B59 #7E1B27 #7E401B
triadic
#7E1B27 #277E1B #1B277E
tetradic
#7E1B27 #597E1B #1B7E72 #401B7E
square
#7E1B27 #597E1B #1B7E72 #401B7E
split-complementary
#7E1B27 #1B7E40 #1B597E
monochromatic
#190508 #4C1017 #7E1B27 #B02637 #D63E50
Accessibility & contrast
On white
10.13
#7E1B27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1B27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B27
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B27 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1b27; /* rgb */ color: rgb(126, 27, 39); /* oklch */ color: oklch(39.4% 0.133 19.6);
Tailwind
colors: {
custom: {
50: '#aa6161',
500: '#7e1b27',
950: '#000000',
},
}SCSS
$custom: #7e1b27; $custom-light: #aa6161; $custom-dark: #000000;
JSON
{
"hex": "#7e1b27",
"rgb": {
"r": 126,
"g": 27,
"b": 39
},
"hsl": {
"h": 352.727,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.39369,
"c": 0.13293,
"h": 19.6
},
"luminance": 0.05366
}Semantic roles & 50–950 ramp
primary
#7E1B27
secondary
#43B2A4
accent
#E8D340
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79