#7E1146#7E1146
#7E1146 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.147 H 357.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1146 |
|---|---|
| RGB | rgb(126, 17, 70) |
| HSL | hsl(331, 76%, 28%) |
| HSV | hsv(331, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 44.4%, 50.6%) |
| CIE-LAB | lab(27.52, 47.76, -2.28) |
| CIE-LCH | lch(27.52, 47.82, 357.26°) |
| OKLab | oklab(39.46% 0.1471 -0.0054) |
| OKLCH | oklch(39.46% 0.147 357.9) |
| XYZ | xyz(9.9109, 5.2801, 6.2904) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 0.98
Wine (survey)
#80013F
ΔE00 2.11
Merlot
#730039
ΔE00 3.27
Reddish Purple
#910951
ΔE00 3.73
Mulberry
#920A4E
ΔE00 3.82
Dark Magenta
#960056
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1146 #117E49
analogous
#7E117C #7E1146 #7E1311
triadic
#7E1146 #467E11 #11467E
tetradic
#7E1146 #7C7E11 #117E49 #13117E
square
#7E1146 #7C7E11 #117E49 #13117E
split-complementary
#7E1146 #117E13 #117C7E
monochromatic
#1B040F #480A28 #7E1146 #B41864 #E22782
Accessibility & contrast
On white
10.22
#7E1146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1146
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1146 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#494844
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1146; /* rgb */ color: rgb(126, 17, 70); /* oklch */ color: oklch(39.5% 0.147 357.9);
Tailwind
colors: {
custom: {
50: '#a85e79',
500: '#7e1146',
950: '#000000',
},
}SCSS
$custom: #7e1146; $custom-light: #a85e79; $custom-dark: #000000;
JSON
{
"hex": "#7e1146",
"rgb": {
"r": 126,
"g": 17,
"b": 70
},
"hsl": {
"h": 330.826,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.39456,
"c": 0.14721,
"h": 357.9
},
"luminance": 0.05279
}Semantic roles & 50–950 ramp
primary
#7E1146
secondary
#37B477
accent
#F39735
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B