#9B2162#9B2162
#9B2162 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 353.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2162 |
|---|---|
| RGB | rgb(155, 33, 98) |
| HSL | hsl(328, 65%, 37%) |
| HSV | hsv(328, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 36.8%, 39.2%) |
| CIE-LAB | lab(35.87, 54.03, -7.57) |
| CIE-LCH | lch(35.87, 54.56, 352.02°) |
| OKLab | oklab(46.92% 0.1659 -0.0194) |
| OKLCH | oklch(46.92% 0.167 353.3) |
| XYZ | xyz(16.2671, 8.9401, 12.4219) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.40
Dark Fuchsia
#9D0759
ΔE00 2.58
Red Violet
#9E0168
ΔE00 3.17
Dark Magenta
#960056
ΔE00 3.40
Reddish Purple
#910951
ΔE00 4.13
Violet Red
#A50055
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2162 #219B5A
analogous
#97219B #9B2162 #9B2125
triadic
#9B2162 #629B21 #21629B
tetradic
#9B2162 #9B9721 #219B5A #21259B
square
#9B2162 #9B9721 #219B5A #21259B
split-complementary
#9B2162 #259B21 #219B97
monochromatic
#360C22 #691642 #9B2162 #CD2C82 #DC5A9F
Accessibility & contrast
On white
7.53
#9B2162 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9B2162 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2162
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2162 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#A7133F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9b2162; /* rgb */ color: rgb(155, 33, 98); /* oklch */ color: oklch(46.9% 0.167 353.3);
Tailwind
colors: {
custom: {
50: '#bd6a8e',
500: '#9b2162',
950: '#000000',
},
}SCSS
$custom: #9b2162; $custom-light: #bd6a8e; $custom-dark: #000000;
JSON
{
"hex": "#9b2162",
"rgb": {
"r": 155,
"g": 33,
"b": 98
},
"hsl": {
"h": 328.033,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.46923,
"c": 0.16705,
"h": 353.3
},
"luminance": 0.08938
}Semantic roles & 50–950 ramp
primary
#9B2162
secondary
#58C088
accent
#E88E40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D