#7E1527#7E1527
#7E1527 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 18.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1527 |
|---|---|
| RGB | rgb(126, 21, 39) |
| HSL | hsl(350, 71%, 29%) |
| HSV | hsv(350, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 69%, 50.6%) |
| CIE-LAB | lab(27.07, 44.24, 18.03) |
| CIE-LCH | lch(27.07, 47.77, 22.17°) |
| OKLab | oklab(38.86% 0.1314 0.0427) |
| OKLCH | oklch(38.86% 0.138 18) |
| XYZ | xyz(9.2396, 5.1199, 2.4208) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.91
Burgundy
#800020
ΔE00 2.05
Bordeaux
#7B002C
ΔE00 4.52
Claret
#680018
ΔE00 5.12
Red Wine
#8C0034
ΔE00 5.20
Wine
#722F37
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1527 #157E6C
analogous
#7E155C #7E1527 #7E3815
triadic
#7E1527 #277E15 #15277E
tetradic
#7E1527 #5C7E15 #157E6C #38157E
square
#7E1527 #5C7E15 #157E6C #38157E
split-complementary
#7E1527 #157E38 #155C7E
monochromatic
#1A0408 #4A0C17 #7E1527 #B21E37 #DD314E
Accessibility & contrast
On white
10.38
#7E1527 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1527 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1527
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1527 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1527 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1527; /* rgb */ color: rgb(126, 21, 39); /* oklch */ color: oklch(38.9% 0.138 18.0);
Tailwind
colors: {
custom: {
50: '#aa5f60',
500: '#7e1527',
950: '#000000',
},
}SCSS
$custom: #7e1527; $custom-light: #aa5f60; $custom-dark: #000000;
JSON
{
"hex": "#7e1527",
"rgb": {
"r": 126,
"g": 21,
"b": 39
},
"hsl": {
"h": 349.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38863,
"c": 0.13814,
"h": 18
},
"luminance": 0.05118
}Semantic roles & 50–950 ramp
primary
#7E1527
secondary
#3CB39F
accent
#EECF3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979