#7E1163#7E1163
#7E1163 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 341.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1163 |
|---|---|
| RGB | rgb(126, 17, 99) |
| HSL | hsl(315, 76%, 28%) |
| HSV | hsv(315, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 21.4%, 50.6%) |
| CIE-LAB | lab(28.74, 51.22, -19.61) |
| CIE-LCH | lch(28.74, 54.85, 339.05°) |
| OKLab | oklab(40.74% 0.1538 -0.0529) |
| OKLCH | oklch(40.74% 0.163 341) |
| XYZ | xyz(11.0571, 5.7386, 12.3273) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.11
Velvet
#750851
ΔE00 3.81
Darkish Purple
#751973
ΔE00 4.87
Red Violet
#9E0168
ΔE00 6.46
Purple
#800080
ΔE00 6.48
Grape Purple
#5D1451
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1163 #117E2C
analogous
#62117E #7E1163 #7E112D
triadic
#7E1163 #637E11 #11637E
tetradic
#7E1163 #7E6211 #117E2C #112D7E
square
#7E1163 #7E6211 #117E2C #112D7E
split-complementary
#7E1163 #2D7E11 #117E62
monochromatic
#1B0415 #480A39 #7E1163 #B4188D #E227B4
Accessibility & contrast
On white
9.78
#7E1163 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1163 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1163
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1163 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1163 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#86153A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1163; /* rgb */ color: rgb(126, 17, 99); /* oklch */ color: oklch(40.7% 0.163 341.0);
Tailwind
colors: {
custom: {
50: '#a7608f',
500: '#7e1163',
950: '#000000',
},
}SCSS
$custom: #7e1163; $custom-light: #a7608f; $custom-dark: #000000;
JSON
{
"hex": "#7e1163",
"rgb": {
"r": 126,
"g": 17,
"b": 99
},
"hsl": {
"h": 314.862,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.40743,
"c": 0.16267,
"h": 341
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#7E1163
secondary
#37B456
accent
#F36435
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D