#7E1767#7E1767
#7E1767 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.160 H 339.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1767 |
|---|---|
| RGB | rgb(126, 23, 103) |
| HSL | hsl(313, 69%, 29%) |
| HSV | hsv(313, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 18.3%, 50.6%) |
| CIE-LAB | lab(29.48, 50.23, -21.05) |
| CIE-LCH | lch(29.48, 54.46, 337.27°) |
| OKLab | oklab(41.34% 0.1496 -0.057) |
| OKLCH | oklch(41.34% 0.16 339.1) |
| XYZ | xyz(11.3591, 6.0288, 13.3948) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.77
Darkish Purple
#751973
ΔE00 4.15
Velvet
#750851
ΔE00 4.68
Purple
#800080
ΔE00 5.87
Grape
#6C3461
ΔE00 6.63
Red Violet
#9E0168
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1767 #177E2E
analogous
#62177E #7E1767 #7E1734
triadic
#7E1767 #677E17 #17677E
tetradic
#7E1767 #7E6217 #177E2E #17347E
square
#7E1767 #7E6217 #177E2E #17347E
split-complementary
#7E1767 #347E17 #177E62
monochromatic
#1A0515 #4A0E3D #7E1767 #B22091 #DA35B5
Accessibility & contrast
On white
9.52
#7E1767 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E1767 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1767
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1767 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1767 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#861C3E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1767; /* rgb */ color: rgb(126, 23, 103); /* oklch */ color: oklch(41.3% 0.160 339.1);
Tailwind
colors: {
custom: {
50: '#a76292',
500: '#7e1767',
950: '#000000',
},
}SCSS
$custom: #7e1767; $custom-light: #a76292; $custom-dark: #000000;
JSON
{
"hex": "#7e1767",
"rgb": {
"r": 126,
"g": 23,
"b": 103
},
"hsl": {
"h": 313.398,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.41341,
"c": 0.16006,
"h": 339.1
},
"luminance": 0.06028
}Semantic roles & 50–950 ramp
primary
#7E1767
secondary
#3EB358
accent
#EC633C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E