#7E1266#7E1266
#7E1266 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 41.0% C 0.164 H 339.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1266 |
|---|---|
| RGB | rgb(126, 18, 102) |
| HSL | hsl(313, 75%, 28%) |
| HSV | hsv(313, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 19%, 50.6%) |
| CIE-LAB | lab(28.98, 51.41, -21.19) |
| CIE-LCH | lch(28.98, 55.60, 337.59°) |
| OKLab | oklab(40.96% 0.1535 -0.0574) |
| OKLCH | oklch(40.96% 0.164 339.5) |
| XYZ | xyz(11.2191, 5.8287, 13.1020) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.40
Darkish Purple
#751973
ΔE00 4.21
Velvet
#750851
ΔE00 4.44
Purple
#800080
ΔE00 5.82
Grape Purple
#5D1451
ΔE00 6.64
Red Violet
#9E0168
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1266 #127E2A
analogous
#60127E #7E1266 #7E1230
triadic
#7E1266 #667E12 #12667E
tetradic
#7E1266 #7E6012 #127E2A #12307E
square
#7E1266 #7E6012 #127E2A #12307E
split-complementary
#7E1266 #307E12 #127E60
monochromatic
#1B0416 #480A3B #7E1266 #B41A91 #E12AB8
Accessibility & contrast
On white
9.70
#7E1266 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1266 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1266
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1266 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1266 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#404A64
Tritanopia (blue-blind)
#86183C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1266; /* rgb */ color: rgb(126, 18, 102); /* oklch */ color: oklch(41.0% 0.164 339.5);
Tailwind
colors: {
custom: {
50: '#a76092',
500: '#7e1266',
950: '#000000',
},
}SCSS
$custom: #7e1266; $custom-light: #a76092; $custom-dark: #000000;
JSON
{
"hex": "#7e1266",
"rgb": {
"r": 126,
"g": 18,
"b": 102
},
"hsl": {
"h": 313.333,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40959,
"c": 0.16385,
"h": 339.5
},
"luminance": 0.05828
}Semantic roles & 50–950 ramp
primary
#7E1266
secondary
#38B454
accent
#F26036
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D