#7E2155#7E2155
#7E2155 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.137 H 350.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2155 |
|---|---|
| RGB | rgb(126, 33, 85) |
| HSL | hsl(326, 58%, 31%) |
| HSV | hsv(326, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 32.5%, 50.6%) |
| CIE-LAB | lab(29.86, 44.40, -8.74) |
| CIE-LCH | lch(29.86, 45.26, 348.86°) |
| OKLab | oklab(41.35% 0.1356 -0.0227) |
| OKLCH | oklch(41.35% 0.137 350.5) |
| XYZ | xyz(10.7883, 6.1804, 9.2174) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.04
Red Purple
#820747
ΔE00 4.19
Reddish Purple
#910951
ΔE00 4.57
Dark Magenta
#960056
ΔE00 4.97
Mulberry
#920A4E
ΔE00 5.29
Wine (survey)
#80013F
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2155 #217E4A
analogous
#78217E #7E2155 #7E2126
triadic
#7E2155 #557E21 #21557E
tetradic
#7E2155 #7E7821 #217E4A #21267E
square
#7E2155 #7E7821 #217E4A #21267E
split-complementary
#7E2155 #267E21 #217E78
monochromatic
#1D0814 #4E1434 #7E2155 #AE2E76 #D04A95
Accessibility & contrast
On white
9.39
#7E2155 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E2155 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2155
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2155 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2155 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303C56
Deuteranopia (green-blind)
#4A4C53
Tritanopia (blue-blind)
#881B38
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2155; /* rgb */ color: rgb(126, 33, 85); /* oklch */ color: oklch(41.4% 0.137 350.5);
Tailwind
colors: {
custom: {
50: '#a76584',
500: '#7e2155',
950: '#000000',
},
}SCSS
$custom: #7e2155; $custom-light: #a76584; $custom-dark: #000000;
JSON
{
"hex": "#7e2155",
"rgb": {
"r": 126,
"g": 33,
"b": 85
},
"hsl": {
"h": 326.452,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41352,
"c": 0.13748,
"h": 350.5
},
"luminance": 0.06179
}Semantic roles & 50–950 ramp
primary
#7E2155
secondary
#4AB177
accent
#E28B46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C