#7E1852#7E1852
#7E1852 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.146 H 351.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1852 |
|---|---|
| RGB | rgb(126, 24, 82) |
| HSL | hsl(326, 68%, 29%) |
| HSV | hsv(326, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 34.9%, 50.6%) |
| CIE-LAB | lab(28.64, 47.15, -8.61) |
| CIE-LCH | lch(28.64, 47.93, 349.65°) |
| OKLab | oklab(40.42% 0.1446 -0.0223) |
| OKLCH | oklch(40.42% 0.146 351.2) |
| XYZ | xyz(10.4544, 5.6994, 8.5306) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.18
Red Purple
#820747
ΔE00 3.35
Reddish Purple
#910951
ΔE00 4.21
Dark Magenta
#960056
ΔE00 4.64
Mulberry
#920A4E
ΔE00 4.98
Wine (survey)
#80013F
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1852 #187E44
analogous
#77187E #7E1852 #7E181F
triadic
#7E1852 #527E18 #18527E
tetradic
#7E1852 #7E7718 #187E44 #181F7E
square
#7E1852 #7E7718 #187E44 #181F7E
split-complementary
#7E1852 #1F7E18 #187E77
monochromatic
#1A0511 #4B0E31 #7E1852 #B12273 #D93793
Accessibility & contrast
On white
9.81
#7E1852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E1852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1852
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1852 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#880F33
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1852; /* rgb */ color: rgb(126, 24, 82); /* oklch */ color: oklch(40.4% 0.146 351.2);
Tailwind
colors: {
custom: {
50: '#a86182',
500: '#7e1852',
950: '#000000',
},
}SCSS
$custom: #7e1852; $custom-light: #a86182; $custom-dark: #000000;
JSON
{
"hex": "#7e1852",
"rgb": {
"r": 126,
"g": 24,
"b": 82
},
"hsl": {
"h": 325.882,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.40421,
"c": 0.14628,
"h": 351.2
},
"luminance": 0.05698
}Semantic roles & 50–950 ramp
primary
#7E1852
secondary
#3FB271
accent
#EB883D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C