#7E1966#7E1966
#7E1966 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.157 H 339.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1966 |
|---|---|
| RGB | rgb(126, 25, 102) |
| HSL | hsl(314, 67%, 30%) |
| HSV | hsv(314, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 19%, 50.6%) |
| CIE-LAB | lab(29.64, 49.49, -20.16) |
| CIE-LCH | lch(29.64, 53.44, 337.84°) |
| OKLab | oklab(41.44% 0.1476 -0.0545) |
| OKLCH | oklch(41.44% 0.157 339.7) |
| XYZ | xyz(11.3504, 6.0913, 13.1458) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.84
Darkish Purple
#751973
ΔE00 4.48
Velvet
#750851
ΔE00 4.51
Purple
#800080
ΔE00 6.24
Grape
#6C3461
ΔE00 6.39
Red Violet
#9E0168
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1966 #197E31
analogous
#63197E #7E1966 #7E1934
triadic
#7E1966 #667E19 #19667E
tetradic
#7E1966 #7E6319 #197E31 #19347E
square
#7E1966 #7E6319 #197E31 #19347E
split-complementary
#7E1966 #347E19 #197E63
monochromatic
#1A0515 #4B0F3D #7E1966 #B1238F #D83AB2
Accessibility & contrast
On white
9.47
#7E1966 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7E1966 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1966
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1966 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1966 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#424B64
Tritanopia (blue-blind)
#861D3E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e1966; /* rgb */ color: rgb(126, 25, 102); /* oklch */ color: oklch(41.4% 0.157 339.7);
Tailwind
colors: {
custom: {
50: '#a76292',
500: '#7e1966',
950: '#000000',
},
}SCSS
$custom: #7e1966; $custom-light: #a76292; $custom-dark: #000000;
JSON
{
"hex": "#7e1966",
"rgb": {
"r": 126,
"g": 25,
"b": 102
},
"hsl": {
"h": 314.257,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.41438,
"c": 0.15738,
"h": 339.7
},
"luminance": 0.0609
}Semantic roles & 50–950 ramp
primary
#7E1966
secondary
#41B25C
accent
#EA673E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D