#9E2566#9E2566
#9E2566 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.167 H 352.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2566 |
|---|---|
| RGB | rgb(158, 37, 102) |
| HSL | hsl(328, 62%, 38%) |
| HSV | hsv(328, 77%, 62%) |
| CMYK | cmyk(0%, 76.6%, 35.4%, 38%) |
| CIE-LAB | lab(37.03, 54.03, -8.32) |
| CIE-LCH | lch(37.03, 54.67, 351.25°) |
| OKLab | oklab(47.92% 0.1657 -0.0214) |
| OKLCH | oklch(47.92% 0.167 352.6) |
| XYZ | xyz(17.1614, 9.5536, 13.5081) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 3.11
Dark Fuchsia
#9D0759
ΔE00 3.42
Red Violet
#9E0168
ΔE00 3.42
Dark Magenta
#960056
ΔE00 4.39
Violet Red
#A50055
ΔE00 4.73
Reddish Purple
#910951
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2566 #259E5D
analogous
#99259E #9E2566 #9E2529
triadic
#9E2566 #669E25 #25669E
tetradic
#9E2566 #9E9925 #259E5D #25299E
square
#9E2566 #9E9925 #259E5D #25299E
split-complementary
#9E2566 #299E25 #259E99
monochromatic
#3B0E26 #6C1946 #9E2566 #CF3186 #DA63A3
Accessibility & contrast
On white
7.22
#9E2566 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9E2566 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2566
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2566 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2566 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4968
Deuteranopia (green-blind)
#5E5F63
Tritanopia (blue-blind)
#AA1942
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2566; /* rgb */ color: rgb(158, 37, 102); /* oklch */ color: oklch(47.9% 0.167 352.6);
Tailwind
colors: {
custom: {
50: '#bf6c91',
500: '#9e2566',
950: '#000000',
},
}SCSS
$custom: #9e2566; $custom-light: #bf6c91; $custom-dark: #000000;
JSON
{
"hex": "#9e2566",
"rgb": {
"r": 158,
"g": 37,
"b": 102
},
"hsl": {
"h": 327.769,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.47922,
"c": 0.16706,
"h": 352.6
},
"luminance": 0.09552
}Semantic roles & 50–950 ramp
primary
#9E2566
secondary
#5FC08C
accent
#E58E43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D