#9E2161#9E2161
#9E2161 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.169 H 354.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2161 |
|---|---|
| RGB | rgb(158, 33, 97) |
| HSL | hsl(329, 65%, 37%) |
| HSV | hsv(329, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 38.6%, 38%) |
| CIE-LAB | lab(36.41, 54.72, -6.07) |
| CIE-LCH | lch(36.41, 55.06, 353.68°) |
| OKLab | oklab(47.41% 0.1682 -0.0153) |
| OKLCH | oklch(47.41% 0.169 354.8) |
| XYZ | xyz(16.8032, 9.2220, 12.2021) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.27
Dark Fuchsia
#9D0759
ΔE00 2.43
Violet Red
#A50055
ΔE00 3.60
Dark Magenta
#960056
ΔE00 3.61
Red Violet
#9E0168
ΔE00 3.74
Reddish Purple
#910951
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2161 #219E5E
analogous
#9D219E #9E2161 #9E2123
triadic
#9E2161 #619E21 #21619E
tetradic
#9E2161 #9E9D21 #219E5E #21239E
square
#9E2161 #9E9D21 #219E5E #21239E
split-complementary
#9E2161 #239E21 #219E9D
monochromatic
#390C23 #6B1642 #9E2161 #D12C80 #DD5C9E
Accessibility & contrast
On white
7.38
#9E2161 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9E2161 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2161
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2161 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2161 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#5E5E5E
Tritanopia (blue-blind)
#AB103E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e2161; /* rgb */ color: rgb(158, 33, 97); /* oklch */ color: oklch(47.4% 0.169 354.8);
Tailwind
colors: {
custom: {
50: '#c06a8d',
500: '#9e2161',
950: '#000000',
},
}SCSS
$custom: #9e2161; $custom-light: #c06a8d; $custom-dark: #000000;
JSON
{
"hex": "#9e2161",
"rgb": {
"r": 158,
"g": 33,
"b": 97
},
"hsl": {
"h": 329.28,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.4741,
"c": 0.16891,
"h": 354.8
},
"luminance": 0.0922
}Semantic roles & 50–950 ramp
primary
#9E2161
secondary
#59C18C
accent
#E8923F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D