#9E2562#9E2562
#9E2562 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.165 H 354.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2562 |
|---|---|
| RGB | rgb(158, 37, 98) |
| HSL | hsl(330, 62%, 38%) |
| HSV | hsv(330, 77%, 62%) |
| CMYK | cmyk(0%, 76.6%, 38%, 38%) |
| CIE-LAB | lab(36.89, 53.58, -5.99) |
| CIE-LCH | lch(36.89, 53.91, 353.62°) |
| OKLab | oklab(47.77% 0.1645 -0.0151) |
| OKLCH | oklch(47.77% 0.165 354.7) |
| XYZ | xyz(16.9678, 9.4762, 12.4885) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.78
Dark Fuchsia
#9D0759
ΔE00 2.92
Violet Red
#A50055
ΔE00 3.90
Dark Magenta
#960056
ΔE00 4.08
Red Violet
#9E0168
ΔE00 4.09
Reddish Purple
#910951
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2562 #259E61
analogous
#9D259E #9E2562 #9E2526
triadic
#9E2562 #629E25 #25629E
tetradic
#9E2562 #9E9D25 #259E61 #25269E
square
#9E2562 #9E9D25 #259E61 #25269E
split-complementary
#9E2562 #269E25 #259E9D
monochromatic
#3B0E24 #6C1943 #9E2562 #CF3181 #DA639F
Accessibility & contrast
On white
7.25
#9E2562 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E2562 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2562
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2562 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2562 | 1.00 | 7.25 | 2.89 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4964
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AB1740
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2562; /* rgb */ color: rgb(158, 37, 98); /* oklch */ color: oklch(47.8% 0.165 354.7);
Tailwind
colors: {
custom: {
50: '#bf6c8e',
500: '#9e2562',
950: '#000000',
},
}SCSS
$custom: #9e2562; $custom-light: #bf6c8e; $custom-dark: #000000;
JSON
{
"hex": "#9e2562",
"rgb": {
"r": 158,
"g": 37,
"b": 98
},
"hsl": {
"h": 329.752,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.4777,
"c": 0.16522,
"h": 354.7
},
"luminance": 0.09474
}Semantic roles & 50–950 ramp
primary
#9E2562
secondary
#5FC08F
accent
#E59343
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D