#7E1850#7E1850
#7E1850 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.145 H 352.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1850 |
|---|---|
| RGB | rgb(126, 24, 80) |
| HSL | hsl(327, 68%, 29%) |
| HSV | hsv(327, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 36.5%, 50.6%) |
| CIE-LAB | lab(28.56, 46.91, -7.41) |
| CIE-LCH | lch(28.56, 47.49, 351.03°) |
| OKLab | oklab(40.34% 0.144 -0.0191) |
| OKLCH | oklch(40.34% 0.145 352.5) |
| XYZ | xyz(10.3794, 5.6694, 8.1356) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.85
Velvet
#750851
ΔE00 3.54
Reddish Purple
#910951
ΔE00 3.94
Dark Magenta
#960056
ΔE00 4.53
Mulberry
#920A4E
ΔE00 4.62
Wine (survey)
#80013F
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1850 #187E46
analogous
#79187E #7E1850 #7E181D
triadic
#7E1850 #507E18 #18507E
tetradic
#7E1850 #7E7918 #187E46 #181D7E
square
#7E1850 #7E7918 #187E46 #181D7E
split-complementary
#7E1850 #1D7E18 #187E79
monochromatic
#1A0510 #4B0E2F #7E1850 #B12271 #D93790
Accessibility & contrast
On white
9.84
#7E1850 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E1850 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1850
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1850 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1850 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#880D32
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1850; /* rgb */ color: rgb(126, 24, 80); /* oklch */ color: oklch(40.3% 0.145 352.5);
Tailwind
colors: {
custom: {
50: '#a86181',
500: '#7e1850',
950: '#000000',
},
}SCSS
$custom: #7e1850; $custom-light: #a86181; $custom-dark: #000000;
JSON
{
"hex": "#7e1850",
"rgb": {
"r": 126,
"g": 24,
"b": 80
},
"hsl": {
"h": 327.059,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.40338,
"c": 0.14526,
"h": 352.5
},
"luminance": 0.05668
}Semantic roles & 50–950 ramp
primary
#7E1850
secondary
#3FB273
accent
#EB8B3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C