#7E1240#7E1240
#7E1240 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.144 H 1.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1240 |
|---|---|
| RGB | rgb(126, 18, 64) |
| HSL | hsl(334, 75%, 28%) |
| HSV | hsv(334, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 49.2%, 50.6%) |
| CIE-LAB | lab(27.41, 46.93, 1.60) |
| CIE-LCH | lch(27.41, 46.96, 1.95°) |
| OKLab | oklab(39.31% 0.1442 0.0046) |
| OKLCH | oklch(39.31% 0.144 1.8) |
| XYZ | xyz(9.7467, 5.2398, 5.3476) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.33
Red Purple
#820747
ΔE00 2.44
Merlot
#730039
ΔE00 2.96
Mulberry
#920A4E
ΔE00 4.24
Reddish Purple
#910951
ΔE00 4.64
Purple Red
#990147
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1240 #127E50
analogous
#7E1276 #7E1240 #7E1A12
triadic
#7E1240 #407E12 #12407E
tetradic
#7E1240 #767E12 #127E50 #1A127E
square
#7E1240 #767E12 #127E50 #1A127E
split-complementary
#7E1240 #127E1A #12767E
monochromatic
#1B040E #480A25 #7E1240 #B41A5B #E12A78
Accessibility & contrast
On white
10.26
#7E1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1240
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1240 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3441
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1240; /* rgb */ color: rgb(126, 18, 64); /* oklch */ color: oklch(39.3% 0.144 1.8);
Tailwind
colors: {
custom: {
50: '#a95e74',
500: '#7e1240',
950: '#000000',
},
}SCSS
$custom: #7e1240; $custom-light: #a95e74; $custom-dark: #000000;
JSON
{
"hex": "#7e1240",
"rgb": {
"r": 126,
"g": 18,
"b": 64
},
"hsl": {
"h": 334.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39311,
"c": 0.14427,
"h": 1.8
},
"luminance": 0.05238
}Semantic roles & 50–950 ramp
primary
#7E1240
secondary
#38B47F
accent
#F2A236
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B