#9E2167#9E2167
#9E2167 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.172 H 351.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2167 |
|---|---|
| RGB | rgb(158, 33, 103) |
| HSL | hsl(326, 65%, 37%) |
| HSV | hsv(326, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 34.8%, 38%) |
| CIE-LAB | lab(36.63, 55.39, -9.56) |
| CIE-LCH | lch(36.63, 56.21, 350.21°) |
| OKLab | oklab(47.64% 0.1699 -0.0247) |
| OKLCH | oklch(47.64% 0.172 351.7) |
| XYZ | xyz(17.0936, 9.3382, 13.7316) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.72
Deep Magenta
#A0025C
ΔE00 2.98
Dark Fuchsia
#9D0759
ΔE00 3.37
Dark Magenta
#960056
ΔE00 4.20
Violet Red
#A50055
ΔE00 4.94
Reddish Purple
#910951
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2167 #219E58
analogous
#97219E #9E2167 #9E2129
triadic
#9E2167 #679E21 #21679E
tetradic
#9E2167 #9E9721 #219E58 #21299E
square
#9E2167 #9E9721 #219E58 #21299E
split-complementary
#9E2167 #299E21 #219E97
monochromatic
#390C25 #6B1646 #9E2167 #D12C88 #DD5CA4
Accessibility & contrast
On white
7.32
#9E2167 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E2167 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2167
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2167 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2167 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394869
Deuteranopia (green-blind)
#5C5E64
Tritanopia (blue-blind)
#AA1541
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e2167; /* rgb */ color: rgb(158, 33, 103); /* oklch */ color: oklch(47.6% 0.172 351.7);
Tailwind
colors: {
custom: {
50: '#bf6a92',
500: '#9e2167',
950: '#000000',
},
}SCSS
$custom: #9e2167; $custom-light: #bf6a92; $custom-dark: #000000;
JSON
{
"hex": "#9e2167",
"rgb": {
"r": 158,
"g": 33,
"b": 103
},
"hsl": {
"h": 326.4,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.47641,
"c": 0.17168,
"h": 351.7
},
"luminance": 0.09336
}Semantic roles & 50–950 ramp
primary
#9E2167
secondary
#59C187
accent
#E88A3F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070D
muted
#827A7D