#7E1249#7E1249
#7E1249 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.148 H 356.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1249 |
|---|---|
| RGB | rgb(126, 18, 73) |
| HSL | hsl(329, 75%, 28%) |
| HSV | hsv(329, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 42.1%, 50.6%) |
| CIE-LAB | lab(27.71, 47.82, -4.01) |
| CIE-LCH | lch(27.71, 47.99, 355.20°) |
| OKLab | oklab(39.63% 0.1473 -0.01) |
| OKLCH | oklch(39.63% 0.148 356.1) |
| XYZ | xyz(10.0238, 5.3506, 6.8070) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.22
Wine (survey)
#80013F
ΔE00 2.91
Reddish Purple
#910951
ΔE00 3.60
Merlot
#730039
ΔE00 3.83
Mulberry
#920A4E
ΔE00 3.93
Dark Magenta
#960056
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1249 #127E47
analogous
#7D127E #7E1249 #7E1213
triadic
#7E1249 #497E12 #12497E
tetradic
#7E1249 #7E7D12 #127E47 #12137E
square
#7E1249 #7E7D12 #127E47 #12137E
split-complementary
#7E1249 #137E12 #127E7D
monochromatic
#1B0410 #480A2A #7E1249 #B41A68 #E12A87
Accessibility & contrast
On white
10.15
#7E1249 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1249 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1249
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1249 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1249 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B354A
Deuteranopia (green-blind)
#494847
Tritanopia (blue-blind)
#89002C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1249; /* rgb */ color: rgb(126, 18, 73); /* oklch */ color: oklch(39.6% 0.148 356.1);
Tailwind
colors: {
custom: {
50: '#a85f7b',
500: '#7e1249',
950: '#000000',
},
}SCSS
$custom: #7e1249; $custom-light: #a85f7b; $custom-dark: #000000;
JSON
{
"hex": "#7e1249",
"rgb": {
"r": 126,
"g": 18,
"b": 73
},
"hsl": {
"h": 329.444,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39632,
"c": 0.14762,
"h": 356.1
},
"luminance": 0.05349
}Semantic roles & 50–950 ramp
primary
#7E1249
secondary
#38B475
accent
#F29236
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B