#7E1540#7E1540
#7E1540 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.142 H 2.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1540 |
|---|---|
| RGB | rgb(126, 21, 64) |
| HSL | hsl(335, 71%, 29%) |
| HSV | hsv(335, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 49.2%, 50.6%) |
| CIE-LAB | lab(27.69, 46.12, 2.01) |
| CIE-LCH | lch(27.69, 46.16, 2.49°) |
| OKLab | oklab(39.52% 0.1416 0.0056) |
| OKLCH | oklch(39.52% 0.142 2.3) |
| XYZ | xyz(9.7986, 5.3435, 5.3649) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.70
Red Purple
#820747
ΔE00 2.75
Merlot
#730039
ΔE00 3.24
Mulberry
#920A4E
ΔE00 4.33
Reddish Purple
#910951
ΔE00 4.77
Purple Red
#990147
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1540 #157E53
analogous
#7E1575 #7E1540 #7E1F15
triadic
#7E1540 #407E15 #15407E
tetradic
#7E1540 #757E15 #157E53 #1F157E
square
#7E1540 #757E15 #157E53 #1F157E
split-complementary
#7E1540 #157E1F #15757E
monochromatic
#1A040D #4A0C25 #7E1540 #B21E5B #DD3177
Accessibility & contrast
On white
10.15
#7E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1540
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1540 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303441
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1540; /* rgb */ color: rgb(126, 21, 64); /* oklch */ color: oklch(39.5% 0.142 2.3);
Tailwind
colors: {
custom: {
50: '#a95f74',
500: '#7e1540',
950: '#000000',
},
}SCSS
$custom: #7e1540; $custom-light: #a95f74; $custom-dark: #000000;
JSON
{
"hex": "#7e1540",
"rgb": {
"r": 126,
"g": 21,
"b": 64
},
"hsl": {
"h": 335.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.39519,
"c": 0.14169,
"h": 2.3
},
"luminance": 0.05342
}Semantic roles & 50–950 ramp
primary
#7E1540
secondary
#3CB382
accent
#EEA43A
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B