#7E1246#7E1246
#7E1246 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.146 H 358.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1246 |
|---|---|
| RGB | rgb(126, 18, 70) |
| HSL | hsl(331, 75%, 28%) |
| HSV | hsv(331, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 44.4%, 50.6%) |
| CIE-LAB | lab(27.61, 47.51, -2.16) |
| CIE-LCH | lch(27.61, 47.56, 357.40°) |
| OKLab | oklab(39.52% 0.1463 -0.0051) |
| OKLCH | oklch(39.52% 0.146 358) |
| XYZ | xyz(9.9268, 5.3118, 6.2957) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.05
Wine (survey)
#80013F
ΔE00 2.11
Merlot
#730039
ΔE00 3.30
Reddish Purple
#910951
ΔE00 3.74
Mulberry
#920A4E
ΔE00 3.81
Dark Magenta
#960056
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1246 #127E4A
analogous
#7E127C #7E1246 #7E1412
triadic
#7E1246 #467E12 #12467E
tetradic
#7E1246 #7C7E12 #127E4A #14127E
square
#7E1246 #7C7E12 #127E4A #14127E
split-complementary
#7E1246 #127E14 #127C7E
monochromatic
#1B040F #480A28 #7E1246 #B41A64 #E12A82
Accessibility & contrast
On white
10.18
#7E1246 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1246 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1246
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1246 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1246 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#4A4844
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1246; /* rgb */ color: rgb(126, 18, 70); /* oklch */ color: oklch(39.5% 0.146 358.0);
Tailwind
colors: {
custom: {
50: '#a85f79',
500: '#7e1246',
950: '#000000',
},
}SCSS
$custom: #7e1246; $custom-light: #a85f79; $custom-dark: #000000;
JSON
{
"hex": "#7e1246",
"rgb": {
"r": 126,
"g": 18,
"b": 70
},
"hsl": {
"h": 331.111,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.3952,
"c": 0.14639,
"h": 358
},
"luminance": 0.0531
}Semantic roles & 50–950 ramp
primary
#7E1246
secondary
#38B478
accent
#F29736
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#110509
muted
#80797B