#7E1140#7E1140
#7E1140 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.145 H 1.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1140 |
|---|---|
| RGB | rgb(126, 17, 64) |
| HSL | hsl(334, 76%, 28%) |
| HSV | hsv(334, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 49.2%, 50.6%) |
| CIE-LAB | lab(27.32, 47.18, 1.47) |
| CIE-LCH | lch(27.32, 47.21, 1.78°) |
| OKLab | oklab(39.25% 0.145 0.0043) |
| OKLCH | oklch(39.25% 0.145 1.7) |
| XYZ | xyz(9.7309, 5.2080, 5.3423) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.22
Red Purple
#820747
ΔE00 2.34
Merlot
#730039
ΔE00 2.88
Mulberry
#920A4E
ΔE00 4.22
Reddish Purple
#910951
ΔE00 4.60
Purple Red
#990147
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1140 #117E4F
analogous
#7E1177 #7E1140 #7E1811
triadic
#7E1140 #407E11 #11407E
tetradic
#7E1140 #777E11 #117E4F #18117E
square
#7E1140 #777E11 #117E4F #18117E
split-complementary
#7E1140 #117E18 #11777E
monochromatic
#1B040E #480A25 #7E1140 #B4185B #E22778
Accessibility & contrast
On white
10.29
#7E1140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1140
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1140 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1140; /* rgb */ color: rgb(126, 17, 64); /* oklch */ color: oklch(39.2% 0.145 1.7);
Tailwind
colors: {
custom: {
50: '#a95e74',
500: '#7e1140',
950: '#000000',
},
}SCSS
$custom: #7e1140; $custom-light: #a95e74; $custom-dark: #000000;
JSON
{
"hex": "#7e1140",
"rgb": {
"r": 126,
"g": 17,
"b": 64
},
"hsl": {
"h": 334.128,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.39246,
"c": 0.14507,
"h": 1.7
},
"luminance": 0.05207
}Semantic roles & 50–950 ramp
primary
#7E1140
secondary
#37B47E
accent
#F3A135
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B