#7E1247#7E1247
#7E1247 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.147 H 357.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1247 |
|---|---|
| RGB | rgb(126, 18, 71) |
| HSL | hsl(331, 75%, 28%) |
| HSV | hsv(331, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 43.7%, 50.6%) |
| CIE-LAB | lab(27.64, 47.61, -2.78) |
| CIE-LCH | lch(27.64, 47.69, 356.66°) |
| OKLab | oklab(39.56% 0.1466 -0.0067) |
| OKLCH | oklch(39.56% 0.147 357.4) |
| XYZ | xyz(9.9586, 5.3245, 6.4633) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.02
Wine (survey)
#80013F
ΔE00 2.37
Merlot
#730039
ΔE00 3.46
Reddish Purple
#910951
ΔE00 3.67
Mulberry
#920A4E
ΔE00 3.82
Dark Magenta
#960056
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1247 #127E49
analogous
#7E127D #7E1247 #7E1312
triadic
#7E1247 #477E12 #12477E
tetradic
#7E1247 #7D7E12 #127E49 #13127E
square
#7E1247 #7D7E12 #127E49 #13127E
split-complementary
#7E1247 #127E13 #127D7E
monochromatic
#1B040F #480A29 #7E1247 #B41A65 #E12A84
Accessibility & contrast
On white
10.17
#7E1247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1247
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1247 | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1247; /* rgb */ color: rgb(126, 18, 71); /* oklch */ color: oklch(39.6% 0.147 357.4);
Tailwind
colors: {
custom: {
50: '#a85f7a',
500: '#7e1247',
950: '#000000',
},
}SCSS
$custom: #7e1247; $custom-light: #a85f7a; $custom-dark: #000000;
JSON
{
"hex": "#7e1247",
"rgb": {
"r": 126,
"g": 18,
"b": 71
},
"hsl": {
"h": 330.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39557,
"c": 0.14678,
"h": 357.4
},
"luminance": 0.05323
}Semantic roles & 50–950 ramp
primary
#7E1247
secondary
#38B477
accent
#F29636
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B