#7E1156#7E1156
#7E1156 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.155 H 348.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1156 |
|---|---|
| RGB | rgb(126, 17, 86) |
| HSL | hsl(322, 76%, 28%) |
| HSV | hsv(322, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 31.7%, 50.6%) |
| CIE-LAB | lab(28.14, 49.54, -12.02) |
| CIE-LCH | lch(28.14, 50.98, 346.36°) |
| OKLab | oklab(40.11% 0.1516 -0.0316) |
| OKLCH | oklch(40.11% 0.155 348.2) |
| XYZ | xyz(10.4849, 5.5097, 9.3136) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.12
Rich Purple
#720058
ΔE00 4.10
Red Purple
#820747
ΔE00 4.58
Reddish Purple
#910951
ΔE00 5.17
Dark Magenta
#960056
ΔE00 5.23
Mulberry
#920A4E
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1156 #117E39
analogous
#6F117E #7E1156 #7E1120
triadic
#7E1156 #567E11 #11567E
tetradic
#7E1156 #7E6F11 #117E39 #11207E
square
#7E1156 #7E6F11 #117E39 #11207E
split-complementary
#7E1156 #207E11 #117E6F
monochromatic
#1B0412 #480A31 #7E1156 #B4187B #E2279E
Accessibility & contrast
On white
9.99
#7E1156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1156
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1156 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253658
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#880933
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1156; /* rgb */ color: rgb(126, 17, 86); /* oklch */ color: oklch(40.1% 0.155 348.2);
Tailwind
colors: {
custom: {
50: '#a85f85',
500: '#7e1156',
950: '#000000',
},
}SCSS
$custom: #7e1156; $custom-light: #a85f85; $custom-dark: #000000;
JSON
{
"hex": "#7e1156",
"rgb": {
"r": 126,
"g": 17,
"b": 86
},
"hsl": {
"h": 322.018,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.40111,
"c": 0.15484,
"h": 348.2
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#7E1156
secondary
#37B465
accent
#F37B35
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C