#9E2662#9E2662
#9E2662 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.164 H 354.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2662 |
|---|---|
| RGB | rgb(158, 38, 98) |
| HSL | hsl(330, 61%, 38%) |
| HSV | hsv(330, 76%, 62%) |
| CMYK | cmyk(0%, 75.9%, 38%, 38%) |
| CIE-LAB | lab(37.00, 53.25, -5.82) |
| CIE-LCH | lch(37.00, 53.57, 353.77°) |
| OKLab | oklab(47.86% 0.1635 -0.0147) |
| OKLCH | oklch(47.86% 0.164 354.9) |
| XYZ | xyz(16.9994, 9.5393, 12.4990) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.90
Dark Fuchsia
#9D0759
ΔE00 3.03
Violet Red
#A50055
ΔE00 3.93
Dark Magenta
#960056
ΔE00 4.20
Red Violet
#9E0168
ΔE00 4.24
Reddish Purple
#910951
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2662 #269E62
analogous
#9E269E #9E2662 #9E2626
triadic
#9E2662 #629E26 #26629E
tetradic
#9E2662 #9E9E26 #269E62 #26269E
square
#9E2662 #9E9E26 #269E62 #26269E
split-complementary
#9E2662 #269E26 #269E9E
monochromatic
#3B0E25 #6D1A43 #9E2662 #CE3381 #DA659F
Accessibility & contrast
On white
7.22
#9E2662 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9E2662 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2662
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2662 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2662 | 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)
#3E4964
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AB1841
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2662; /* rgb */ color: rgb(158, 38, 98); /* oklch */ color: oklch(47.9% 0.164 354.9);
Tailwind
colors: {
custom: {
50: '#bf6c8e',
500: '#9e2662',
950: '#000000',
},
}SCSS
$custom: #9e2662; $custom-light: #bf6c8e; $custom-dark: #000000;
JSON
{
"hex": "#9e2662",
"rgb": {
"r": 158,
"g": 38,
"b": 98
},
"hsl": {
"h": 330,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.47856,
"c": 0.16414,
"h": 354.9
},
"luminance": 0.09537
}Semantic roles & 50–950 ramp
primary
#9E2662
secondary
#60C090
accent
#E49443
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D