#9B2161#9B2161
#9B2161 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 353.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2161 |
|---|---|
| RGB | rgb(155, 33, 97) |
| HSL | hsl(329, 65%, 37%) |
| HSV | hsv(329, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 37.4%, 39.2%) |
| CIE-LAB | lab(35.83, 53.92, -6.99) |
| CIE-LCH | lch(35.83, 54.37, 352.62°) |
| OKLab | oklab(46.88% 0.1656 -0.0178) |
| OKLCH | oklch(46.88% 0.167 353.9) |
| XYZ | xyz(16.2202, 8.9214, 12.1748) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.30
Dark Fuchsia
#9D0759
ΔE00 2.42
Dark Magenta
#960056
ΔE00 3.31
Red Violet
#9E0168
ΔE00 3.36
Reddish Purple
#910951
ΔE00 3.99
Violet Red
#A50055
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2161 #219B5B
analogous
#98219B #9B2161 #9B2124
triadic
#9B2161 #619B21 #21619B
tetradic
#9B2161 #9B9821 #219B5B #21249B
square
#9B2161 #9B9821 #219B5B #21249B
split-complementary
#9B2161 #249B21 #219B98
monochromatic
#360C22 #691641 #9B2161 #CD2C81 #DC5A9E
Accessibility & contrast
On white
7.54
#9B2161 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9B2161 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2161
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2161 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2161 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394663
Deuteranopia (green-blind)
#5C5C5E
Tritanopia (blue-blind)
#A8123E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9b2161; /* rgb */ color: rgb(155, 33, 97); /* oklch */ color: oklch(46.9% 0.167 353.9);
Tailwind
colors: {
custom: {
50: '#bd6a8d',
500: '#9b2161',
950: '#000000',
},
}SCSS
$custom: #9b2161; $custom-light: #bd6a8d; $custom-dark: #000000;
JSON
{
"hex": "#9b2161",
"rgb": {
"r": 155,
"g": 33,
"b": 97
},
"hsl": {
"h": 328.525,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.46884,
"c": 0.16659,
"h": 353.9
},
"luminance": 0.08919
}Semantic roles & 50–950 ramp
primary
#9B2161
secondary
#58C089
accent
#E89040
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D