#7E1846#7E1846
#7E1846 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.141 H 358.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1846 |
|---|---|
| RGB | rgb(126, 24, 70) |
| HSL | hsl(333, 68%, 29%) |
| HSV | hsv(333, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 44.4%, 50.6%) |
| CIE-LAB | lab(28.20, 45.81, -1.28) |
| CIE-LCH | lch(28.20, 45.83, 358.40°) |
| OKLab | oklab(39.96% 0.1409 -0.0028) |
| OKLCH | oklch(39.96% 0.141 358.9) |
| XYZ | xyz(10.0371, 5.5324, 6.3325) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.73
Wine (survey)
#80013F
ΔE00 2.32
Merlot
#730039
ΔE00 3.62
Mulberry
#920A4E
ΔE00 3.80
Reddish Purple
#910951
ΔE00 3.87
Dark Magenta
#960056
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1846 #187E50
analogous
#7E1879 #7E1846 #7E1D18
triadic
#7E1846 #467E18 #18467E
tetradic
#7E1846 #797E18 #187E50 #1D187E
square
#7E1846 #797E18 #187E50 #1D187E
split-complementary
#7E1846 #187E1D #18797E
monochromatic
#1A050E #4B0E29 #7E1846 #B12263 #D93780
Accessibility & contrast
On white
9.97
#7E1846 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1846 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1846
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1846 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1846 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#4B4944
Tritanopia (blue-blind)
#89042D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1846; /* rgb */ color: rgb(126, 24, 70); /* oklch */ color: oklch(40.0% 0.141 358.9);
Tailwind
colors: {
custom: {
50: '#a86179',
500: '#7e1846',
950: '#000000',
},
}SCSS
$custom: #7e1846; $custom-light: #a86179; $custom-dark: #000000;
JSON
{
"hex": "#7e1846",
"rgb": {
"r": 126,
"g": 24,
"b": 70
},
"hsl": {
"h": 332.941,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39955,
"c": 0.14088,
"h": 358.9
},
"luminance": 0.05531
}Semantic roles & 50–950 ramp
primary
#7E1846
secondary
#3FB27F
accent
#EB9C3D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B