#7E1534#7E1534
#7E1534 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 10.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1534 |
|---|---|
| RGB | rgb(126, 21, 52) |
| HSL | hsl(342, 71%, 29%) |
| HSV | hsv(342, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 58.7%, 50.6%) |
| CIE-LAB | lab(27.36, 45.10, 9.65) |
| CIE-LCH | lch(27.36, 46.12, 12.07°) |
| OKLab | oklab(39.16% 0.1368 0.0243) |
| OKLCH | oklch(39.16% 0.139 10) |
| XYZ | xyz(9.4931, 5.2213, 3.7561) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.23
Red Wine
#8C0034
ΔE00 2.87
Wine Red
#7B0323
ΔE00 4.78
Wine (survey)
#80013F
ΔE00 5.04
Merlot
#730039
ΔE00 5.85
Maroon (survey)
#650021
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1534 #157E5F
analogous
#7E1569 #7E1534 #7E2B15
triadic
#7E1534 #347E15 #15347E
tetradic
#7E1534 #697E15 #157E5F #2B157E
square
#7E1534 #697E15 #157E5F #2B157E
split-complementary
#7E1534 #157E2B #15697E
monochromatic
#1A040B #4A0C1E #7E1534 #B21E4A #DD3164
Accessibility & contrast
On white
10.27
#7E1534 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1534 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1534
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1534 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1534 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333334
Deuteranopia (green-blind)
#4E4831
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1534; /* rgb */ color: rgb(126, 21, 52); /* oklch */ color: oklch(39.2% 0.139 10.0);
Tailwind
colors: {
custom: {
50: '#a95f6b',
500: '#7e1534',
950: '#000000',
},
}SCSS
$custom: #7e1534; $custom-light: #a95f6b; $custom-dark: #000000;
JSON
{
"hex": "#7e1534",
"rgb": {
"r": 126,
"g": 21,
"b": 52
},
"hsl": {
"h": 342.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.39163,
"c": 0.13897,
"h": 10
},
"luminance": 0.0522
}Semantic roles & 50–950 ramp
primary
#7E1534
secondary
#3CB390
accent
#EEB93A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A