#7E1165#7E1165
#7E1165 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.164 H 340.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1165 |
|---|---|
| RGB | rgb(126, 17, 101) |
| HSL | hsl(314, 76%, 28%) |
| HSV | hsv(314, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 19.8%, 50.6%) |
| CIE-LAB | lab(28.84, 51.50, -20.75) |
| CIE-LCH | lch(28.84, 55.53, 338.05°) |
| OKLab | oklab(40.85% 0.1541 -0.0562) |
| OKLCH | oklch(40.85% 0.164 340) |
| XYZ | xyz(11.1539, 5.7773, 12.8371) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.25
Velvet
#750851
ΔE00 4.23
Darkish Purple
#751973
ΔE00 4.41
Purple
#800080
ΔE00 6.01
Grape Purple
#5D1451
ΔE00 6.59
Red Violet
#9E0168
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1165 #117E2A
analogous
#60117E #7E1165 #7E112F
triadic
#7E1165 #657E11 #11657E
tetradic
#7E1165 #7E6011 #117E2A #112F7E
square
#7E1165 #7E6011 #117E2A #112F7E
split-complementary
#7E1165 #2F7E11 #117E60
monochromatic
#1B0416 #480A3A #7E1165 #B41890 #E227B7
Accessibility & contrast
On white
9.74
#7E1165 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1165 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1165
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1165 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1165 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3967
Deuteranopia (green-blind)
#404A63
Tritanopia (blue-blind)
#86163B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1165; /* rgb */ color: rgb(126, 17, 101); /* oklch */ color: oklch(40.8% 0.164 340.0);
Tailwind
colors: {
custom: {
50: '#a76091',
500: '#7e1165',
950: '#000000',
},
}SCSS
$custom: #7e1165; $custom-light: #a76091; $custom-dark: #000000;
JSON
{
"hex": "#7e1165",
"rgb": {
"r": 126,
"g": 17,
"b": 101
},
"hsl": {
"h": 313.761,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.40847,
"c": 0.16399,
"h": 340
},
"luminance": 0.05776
}Semantic roles & 50–950 ramp
primary
#7E1165
secondary
#37B453
accent
#F36135
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D