#7E2160#7E2160
#7E2160 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 343.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2160 |
|---|---|
| RGB | rgb(126, 33, 96) |
| HSL | hsl(319, 58%, 31%) |
| HSV | hsv(319, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 23.8%, 50.6%) |
| CIE-LAB | lab(30.32, 45.89, -15.21) |
| CIE-LCH | lch(30.32, 48.35, 341.66°) |
| OKLab | oklab(41.84% 0.1383 -0.0406) |
| OKLCH | oklch(41.84% 0.144 343.6) |
| XYZ | xyz(11.2598, 6.3690, 11.7004) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.00
Rich Purple
#720058
ΔE00 4.73
Grape
#6C3461
ΔE00 5.53
Red Violet
#9E0168
ΔE00 6.00
Dark Magenta
#960056
ΔE00 6.46
Darkish Purple
#751973
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2160 #217E3F
analogous
#6D217E #7E2160 #7E2131
triadic
#7E2160 #607E21 #21607E
tetradic
#7E2160 #7E6D21 #217E3F #21317E
square
#7E2160 #7E6D21 #217E3F #21317E
split-complementary
#7E2160 #317E21 #217E6D
monochromatic
#1D0816 #4E143B #7E2160 #AE2E85 #D04AA4
Accessibility & contrast
On white
9.24
#7E2160 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7E2160 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2160
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2160 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2160 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3E62
Deuteranopia (green-blind)
#474D5E
Tritanopia (blue-blind)
#86213D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2160; /* rgb */ color: rgb(126, 33, 96); /* oklch */ color: oklch(41.8% 0.144 343.6);
Tailwind
colors: {
custom: {
50: '#a7658d',
500: '#7e2160',
950: '#000000',
},
}SCSS
$custom: #7e2160; $custom-light: #a7658d; $custom-dark: #000000;
JSON
{
"hex": "#7e2160",
"rgb": {
"r": 126,
"g": 33,
"b": 96
},
"hsl": {
"h": 319.355,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41841,
"c": 0.14411,
"h": 343.6
},
"luminance": 0.06368
}Semantic roles & 50–950 ramp
primary
#7E2160
secondary
#4AB16B
accent
#E27846
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D