#9B2152#9B2152
#9B2152 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.161 H 2.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2152 |
|---|---|
| RGB | rgb(155, 33, 82) |
| HSL | hsl(336, 65%, 37%) |
| HSV | hsv(336, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 47.1%, 39.2%) |
| CIE-LAB | lab(35.34, 52.40, 1.93) |
| CIE-LCH | lch(35.34, 52.43, 2.11°) |
| OKLab | oklab(46.36% 0.1608 0.0055) |
| OKLCH | oklch(46.36% 0.161 2) |
| XYZ | xyz(15.5857, 8.6676, 8.8333) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.09
Violet Red
#A50055
ΔE00 2.67
Purple Red
#990147
ΔE00 3.09
Mulberry
#920A4E
ΔE00 3.51
Dark Fuchsia
#9D0759
ΔE00 3.65
Deep Magenta
#A0025C
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2152 #219B6A
analogous
#9B218F #9B2152 #9B2D21
triadic
#9B2152 #529B21 #21529B
tetradic
#9B2152 #8F9B21 #219B6A #2D219B
square
#9B2152 #8F9B21 #219B6A #2D219B
split-complementary
#9B2152 #219B2D #218F9B
monochromatic
#360C1D #691637 #9B2152 #CD2C6D #DC5A8E
Accessibility & contrast
On white
7.68
#9B2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9B2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2152
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2152 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#A90337
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9b2152; /* rgb */ color: rgb(155, 33, 82); /* oklch */ color: oklch(46.4% 0.161 2.0);
Tailwind
colors: {
custom: {
50: '#be6982',
500: '#9b2152',
950: '#000000',
},
}SCSS
$custom: #9b2152; $custom-light: #be6982; $custom-dark: #000000;
JSON
{
"hex": "#9b2152",
"rgb": {
"r": 155,
"g": 33,
"b": 82
},
"hsl": {
"h": 335.902,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.46358,
"c": 0.16087,
"h": 2
},
"luminance": 0.08665
}Semantic roles & 50–950 ramp
primary
#9B2152
secondary
#58C096
accent
#E8A440
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C