#7E1154#7E1154
#7E1154 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.154 H 349.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1154 |
|---|---|
| RGB | rgb(126, 17, 84) |
| HSL | hsl(323, 76%, 28%) |
| HSV | hsv(323, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 33.3%, 50.6%) |
| CIE-LAB | lab(28.06, 49.30, -10.82) |
| CIE-LCH | lch(28.06, 50.47, 347.62°) |
| OKLab | oklab(40.02% 0.1511 -0.0283) |
| OKLCH | oklch(40.02% 0.154 349.4) |
| XYZ | xyz(10.4055, 5.4779, 8.8952) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.25
Red Purple
#820747
ΔE00 4.05
Rich Purple
#720058
ΔE00 4.50
Reddish Purple
#910951
ΔE00 4.80
Dark Magenta
#960056
ΔE00 4.97
Mulberry
#920A4E
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1154 #117E3B
analogous
#71117E #7E1154 #7E111E
triadic
#7E1154 #547E11 #11547E
tetradic
#7E1154 #7E7111 #117E3B #111E7E
square
#7E1154 #7E7111 #117E3B #111E7E
split-complementary
#7E1154 #1E7E11 #117E71
monochromatic
#1B0412 #480A30 #7E1154 #B41878 #E2279A
Accessibility & contrast
On white
10.02
#7E1154 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1154 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1154
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1154 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1154 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#263656
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#880632
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1154; /* rgb */ color: rgb(126, 17, 84); /* oklch */ color: oklch(40.0% 0.154 349.4);
Tailwind
colors: {
custom: {
50: '#a85f84',
500: '#7e1154',
950: '#000000',
},
}SCSS
$custom: #7e1154; $custom-light: #a85f84; $custom-dark: #000000;
JSON
{
"hex": "#7e1154",
"rgb": {
"r": 126,
"g": 17,
"b": 84
},
"hsl": {
"h": 323.119,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.40022,
"c": 0.15375,
"h": 349.4
},
"luminance": 0.05477
}Semantic roles & 50–950 ramp
primary
#7E1154
secondary
#37B467
accent
#F37E35
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050A
muted
#7F797C