#7E1148#7E1148
#7E1148 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.148 H 356.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1148 |
|---|---|
| RGB | rgb(126, 17, 72) |
| HSL | hsl(330, 76%, 28%) |
| HSV | hsv(330, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 42.9%, 50.6%) |
| CIE-LAB | lab(27.59, 47.97, -3.52) |
| CIE-LCH | lch(27.59, 48.09, 355.80°) |
| OKLab | oklab(39.53% 0.1478 -0.0087) |
| OKLCH | oklch(39.53% 0.148 356.6) |
| XYZ | xyz(9.9751, 5.3057, 6.6285) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.04
Wine (survey)
#80013F
ΔE00 2.64
Merlot
#730039
ΔE00 3.62
Reddish Purple
#910951
ΔE00 3.63
Mulberry
#920A4E
ΔE00 3.89
Dark Magenta
#960056
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1148 #117E47
analogous
#7D117E #7E1148 #7E1111
triadic
#7E1148 #487E11 #11487E
tetradic
#7E1148 #7E7D11 #117E47 #11117E
square
#7E1148 #7E7D11 #117E47 #11117E
split-complementary
#7E1148 #117E11 #117E7D
monochromatic
#1B040F #480A29 #7E1148 #B41867 #E22786
Accessibility & contrast
On white
10.19
#7E1148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1148
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1148 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3449
Deuteranopia (green-blind)
#494846
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1148; /* rgb */ color: rgb(126, 17, 72); /* oklch */ color: oklch(39.5% 0.148 356.6);
Tailwind
colors: {
custom: {
50: '#a85e7a',
500: '#7e1148',
950: '#000000',
},
}SCSS
$custom: #7e1148; $custom-light: #a85e7a; $custom-dark: #000000;
JSON
{
"hex": "#7e1148",
"rgb": {
"r": 126,
"g": 17,
"b": 72
},
"hsl": {
"h": 329.725,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.39531,
"c": 0.14801,
"h": 356.6
},
"luminance": 0.05304
}Semantic roles & 50–950 ramp
primary
#7E1148
secondary
#37B475
accent
#F39335
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B