#9B2154#9B2154
#9B2154 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 0.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2154 |
|---|---|
| RGB | rgb(155, 33, 84) |
| HSL | hsl(335, 65%, 37%) |
| HSV | hsv(335, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 45.8%, 39.2%) |
| CIE-LAB | lab(35.40, 52.58, 0.73) |
| CIE-LCH | lch(35.40, 52.59, 0.79°) |
| OKLab | oklab(46.42% 0.1615 0.0025) |
| OKLCH | oklch(46.42% 0.162 0.9) |
| XYZ | xyz(15.6629, 8.6985, 9.2400) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.36
Violet Red
#A50055
ΔE00 2.49
Dark Fuchsia
#9D0759
ΔE00 3.17
Mulberry
#920A4E
ΔE00 3.33
Purple Red
#990147
ΔE00 3.40
Deep Magenta
#A0025C
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2154 #219B68
analogous
#9B2191 #9B2154 #9B2B21
triadic
#9B2154 #549B21 #21549B
tetradic
#9B2154 #919B21 #219B68 #2B219B
square
#9B2154 #919B21 #219B68 #2B219B
split-complementary
#9B2154 #219B2B #21919B
monochromatic
#360C1D #691639 #9B2154 #CD2C6F #DC5A91
Accessibility & contrast
On white
7.67
#9B2154 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9B2154 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2154
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2154 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2154 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4455
Deuteranopia (green-blind)
#5F5C51
Tritanopia (blue-blind)
#A90538
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9b2154; /* rgb */ color: rgb(155, 33, 84); /* oklch */ color: oklch(46.4% 0.162 0.9);
Tailwind
colors: {
custom: {
50: '#be6983',
500: '#9b2154',
950: '#000000',
},
}SCSS
$custom: #9b2154; $custom-light: #be6983; $custom-dark: #000000;
JSON
{
"hex": "#9b2154",
"rgb": {
"r": 155,
"g": 33,
"b": 84
},
"hsl": {
"h": 334.918,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.46423,
"c": 0.1615,
"h": 0.9
},
"luminance": 0.08696
}Semantic roles & 50–950 ramp
primary
#9B2154
secondary
#58C094
accent
#E8A240
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C