#7E1847#7E1847
#7E1847 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.141 H 358.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1847 |
|---|---|
| RGB | rgb(126, 24, 71) |
| HSL | hsl(332, 68%, 29%) |
| HSV | hsv(332, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 43.7%, 50.6%) |
| CIE-LAB | lab(28.23, 45.92, -1.90) |
| CIE-LCH | lch(28.23, 45.96, 357.63°) |
| OKLab | oklab(39.99% 0.1412 -0.0044) |
| OKLCH | oklch(39.99% 0.141 358.2) |
| XYZ | xyz(10.0689, 5.5451, 6.5001) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.62
Wine (survey)
#80013F
ΔE00 2.50
Merlot
#730039
ΔE00 3.73
Reddish Purple
#910951
ΔE00 3.77
Mulberry
#920A4E
ΔE00 3.78
Dark Magenta
#960056
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1847 #187E4F
analogous
#7E187A #7E1847 #7E1C18
triadic
#7E1847 #477E18 #18477E
tetradic
#7E1847 #7A7E18 #187E4F #1C187E
square
#7E1847 #7A7E18 #187E4F #1C187E
split-complementary
#7E1847 #187E1C #187A7E
monochromatic
#1A050E #4B0E2A #7E1847 #B12264 #D93782
Accessibility & contrast
On white
9.96
#7E1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1847
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1847 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3648
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#89052D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1847; /* rgb */ color: rgb(126, 24, 71); /* oklch */ color: oklch(40.0% 0.141 358.2);
Tailwind
colors: {
custom: {
50: '#a8617a',
500: '#7e1847',
950: '#000000',
},
}SCSS
$custom: #7e1847; $custom-light: #a8617a; $custom-dark: #000000;
JSON
{
"hex": "#7e1847",
"rgb": {
"r": 126,
"g": 24,
"b": 71
},
"hsl": {
"h": 332.353,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39991,
"c": 0.14126,
"h": 358.2
},
"luminance": 0.05544
}Semantic roles & 50–950 ramp
primary
#7E1847
secondary
#3FB27D
accent
#EB9B3D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B