#7E1959#7E1959
#7E1959 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.149 H 347.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1959 |
|---|---|
| RGB | rgb(126, 25, 89) |
| HSL | hsl(322, 67%, 30%) |
| HSV | hsv(322, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 29.4%, 50.6%) |
| CIE-LAB | lab(29.04, 47.71, -12.62) |
| CIE-LCH | lch(29.04, 49.35, 345.18°) |
| OKLab | oklab(40.81% 0.1453 -0.0333) |
| OKLCH | oklch(40.81% 0.149 347.1) |
| XYZ | xyz(10.7555, 5.8534, 10.0127) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.73
Rich Purple
#720058
ΔE00 4.37
Red Purple
#820747
ΔE00 5.15
Reddish Purple
#910951
ΔE00 5.44
Dark Magenta
#960056
ΔE00 5.44
Red Violet
#9E0168
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1959 #197E3E
analogous
#71197E #7E1959 #7E1927
triadic
#7E1959 #597E19 #19597E
tetradic
#7E1959 #7E7119 #197E3E #19277E
square
#7E1959 #7E7119 #197E3E #19277E
split-complementary
#7E1959 #277E19 #197E71
monochromatic
#1A0512 #4B0F35 #7E1959 #B1237D #D83A9E
Accessibility & contrast
On white
9.68
#7E1959 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1959 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1959
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1959 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1959 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#871537
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1959; /* rgb */ color: rgb(126, 25, 89); /* oklch */ color: oklch(40.8% 0.149 347.1);
Tailwind
colors: {
custom: {
50: '#a76288',
500: '#7e1959',
950: '#000000',
},
}SCSS
$custom: #7e1959; $custom-light: #a76288; $custom-dark: #000000;
JSON
{
"hex": "#7e1959",
"rgb": {
"r": 126,
"g": 25,
"b": 89
},
"hsl": {
"h": 321.98,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.40805,
"c": 0.1491,
"h": 347.1
},
"luminance": 0.05852
}Semantic roles & 50–950 ramp
primary
#7E1959
secondary
#41B26A
accent
#EA7D3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C