#7E1748#7E1748
#7E1748 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.143 H 357.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1748 |
|---|---|
| RGB | rgb(126, 23, 72) |
| HSL | hsl(331, 69%, 29%) |
| HSV | hsv(331, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 42.9%, 50.6%) |
| CIE-LAB | lab(28.16, 46.33, -2.68) |
| CIE-LCH | lch(28.16, 46.41, 356.69°) |
| OKLab | oklab(39.95% 0.1425 -0.0064) |
| OKLCH | oklch(39.95% 0.143 357.4) |
| XYZ | xyz(10.0810, 5.5176, 6.6638) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.46
Wine (survey)
#80013F
ΔE00 2.68
Reddish Purple
#910951
ΔE00 3.66
Mulberry
#920A4E
ΔE00 3.79
Merlot
#730039
ΔE00 3.81
Dark Magenta
#960056
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1748 #177E4D
analogous
#7E177C #7E1748 #7E1917
triadic
#7E1748 #487E17 #17487E
tetradic
#7E1748 #7C7E17 #177E4D #19177E
square
#7E1748 #7C7E17 #177E4D #19177E
split-complementary
#7E1748 #177E19 #177C7E
monochromatic
#1A050F #4A0E2A #7E1748 #B22066 #DA3584
Accessibility & contrast
On white
9.98
#7E1748 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1748 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1748
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1748 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1748 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#89042D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1748; /* rgb */ color: rgb(126, 23, 72); /* oklch */ color: oklch(39.9% 0.143 357.4);
Tailwind
colors: {
custom: {
50: '#a8607a',
500: '#7e1748',
950: '#000000',
},
}SCSS
$custom: #7e1748; $custom-light: #a8607a; $custom-dark: #000000;
JSON
{
"hex": "#7e1748",
"rgb": {
"r": 126,
"g": 23,
"b": 72
},
"hsl": {
"h": 331.456,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39949,
"c": 0.14266,
"h": 357.4
},
"luminance": 0.05516
}Semantic roles & 50–950 ramp
primary
#7E1748
secondary
#3EB37B
accent
#EC983C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B