#7E1366#7E1366
#7E1366 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 339.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1366 |
|---|---|
| RGB | rgb(126, 19, 102) |
| HSL | hsl(313, 74%, 28%) |
| HSV | hsv(313, 85%, 49%) |
| CMYK | cmyk(0%, 84.9%, 19%, 50.6%) |
| CIE-LAB | lab(29.06, 51.16, -21.06) |
| CIE-LCH | lch(29.06, 55.33, 337.62°) |
| OKLab | oklab(41.02% 0.1527 -0.057) |
| OKLCH | oklch(41.02% 0.163 339.5) |
| XYZ | xyz(11.2357, 5.8618, 13.1075) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.44
Darkish Purple
#751973
ΔE00 4.24
Velvet
#750851
ΔE00 4.44
Purple
#800080
ΔE00 5.87
Grape Purple
#5D1451
ΔE00 6.65
Red Violet
#9E0168
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1366 #137E2B
analogous
#60137E #7E1366 #7E1330
triadic
#7E1366 #667E13 #13667E
tetradic
#7E1366 #7E6013 #137E2B #13307E
square
#7E1366 #7E6013 #137E2B #13307E
split-complementary
#7E1366 #307E13 #137E60
monochromatic
#1B0416 #490B3B #7E1366 #B31B91 #DF2CB7
Accessibility & contrast
On white
9.67
#7E1366 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1366 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1366
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1366 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1366 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#404A64
Tritanopia (blue-blind)
#86183C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1366; /* rgb */ color: rgb(126, 19, 102); /* oklch */ color: oklch(41.0% 0.163 339.5);
Tailwind
colors: {
custom: {
50: '#a76092',
500: '#7e1366',
950: '#000000',
},
}SCSS
$custom: #7e1366; $custom-light: #a76092; $custom-dark: #000000;
JSON
{
"hex": "#7e1366",
"rgb": {
"r": 126,
"g": 19,
"b": 102
},
"hsl": {
"h": 313.458,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.4102,
"c": 0.16302,
"h": 339.5
},
"luminance": 0.05861
}Semantic roles & 50–950 ramp
primary
#7E1366
secondary
#39B455
accent
#F06137
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D