#7E1242#7E1242
#7E1242 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.145 H 0.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1242 |
|---|---|
| RGB | rgb(126, 18, 66) |
| HSL | hsl(333, 75%, 28%) |
| HSV | hsv(333, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 47.6%, 50.6%) |
| CIE-LAB | lab(27.47, 47.12, 0.34) |
| CIE-LCH | lch(27.47, 47.12, 0.41°) |
| OKLab | oklab(39.38% 0.1449 0.0014) |
| OKLCH | oklch(39.38% 0.145 0.5) |
| XYZ | xyz(9.8047, 5.2629, 5.6528) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.35
Red Purple
#820747
ΔE00 1.86
Merlot
#730039
ΔE00 2.93
Mulberry
#920A4E
ΔE00 4.00
Reddish Purple
#910951
ΔE00 4.26
Purple Red
#990147
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1242 #127E4E
analogous
#7E1278 #7E1242 #7E1812
triadic
#7E1242 #427E12 #12427E
tetradic
#7E1242 #787E12 #127E4E #18127E
square
#7E1242 #787E12 #127E4E #18127E
split-complementary
#7E1242 #127E18 #12787E
monochromatic
#1B040E #480A26 #7E1242 #B41A5E #E12A7B
Accessibility & contrast
On white
10.23
#7E1242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1242
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1242 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#4B4840
Tritanopia (blue-blind)
#890029
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1242; /* rgb */ color: rgb(126, 18, 66); /* oklch */ color: oklch(39.4% 0.145 0.5);
Tailwind
colors: {
custom: {
50: '#a95e76',
500: '#7e1242',
950: '#000000',
},
}SCSS
$custom: #7e1242; $custom-light: #a95e76; $custom-dark: #000000;
JSON
{
"hex": "#7e1242",
"rgb": {
"r": 126,
"g": 18,
"b": 66
},
"hsl": {
"h": 333.333,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39378,
"c": 0.14493,
"h": 0.5
},
"luminance": 0.05262
}Semantic roles & 50–950 ramp
primary
#7E1242
secondary
#38B47D
accent
#F29E36
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B