#9D2162#9D2162
#9D2162 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.169 H 354.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2162 |
|---|---|
| RGB | rgb(157, 33, 98) |
| HSL | hsl(329, 65%, 37%) |
| HSV | hsv(329, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 37.6%, 38.4%) |
| CIE-LAB | lab(36.25, 54.57, -6.96) |
| CIE-LCH | lch(36.25, 55.01, 352.73°) |
| OKLab | oklab(47.27% 0.1677 -0.0177) |
| OKLCH | oklch(47.27% 0.169 354) |
| XYZ | xyz(16.6542, 9.1397, 12.4400) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.33
Dark Fuchsia
#9D0759
ΔE00 2.53
Red Violet
#9E0168
ΔE00 3.40
Dark Magenta
#960056
ΔE00 3.56
Violet Red
#A50055
ΔE00 3.94
Reddish Purple
#910951
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2162 #219D5C
analogous
#9A219D #9D2162 #9D2124
triadic
#9D2162 #629D21 #21629D
tetradic
#9D2162 #9D9A21 #219D5C #21249D
square
#9D2162 #9D9A21 #219D5C #21249D
split-complementary
#9D2162 #249D21 #219D9A
monochromatic
#380C23 #6A1642 #9D2162 #D02C82 #DD5C9F
Accessibility & contrast
On white
7.43
#9D2162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9D2162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2162
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2162 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5D5D5F
Tritanopia (blue-blind)
#AA113F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9d2162; /* rgb */ color: rgb(157, 33, 98); /* oklch */ color: oklch(47.3% 0.169 354.0);
Tailwind
colors: {
custom: {
50: '#bf6a8e',
500: '#9d2162',
950: '#000000',
},
}SCSS
$custom: #9d2162; $custom-light: #bf6a8e; $custom-dark: #000000;
JSON
{
"hex": "#9d2162",
"rgb": {
"r": 157,
"g": 33,
"b": 98
},
"hsl": {
"h": 328.548,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.47272,
"c": 0.16858,
"h": 354
},
"luminance": 0.09138
}Semantic roles & 50–950 ramp
primary
#9D2162
secondary
#59C18A
accent
#E89040
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D