#9B2873#9B2873
#9B2873 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.168 H 345.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2873 |
|---|---|
| RGB | rgb(155, 40, 115) |
| HSL | hsl(321, 59%, 38%) |
| HSV | hsv(321, 74%, 61%) |
| CMYK | cmyk(0%, 74.2%, 25.8%, 39.2%) |
| CIE-LAB | lab(37.35, 53.81, -16.10) |
| CIE-LCH | lch(37.35, 56.17, 343.35°) |
| OKLab | oklab(48.22% 0.163 -0.0428) |
| OKLCH | oklch(48.22% 0.168 345.3) |
| XYZ | xyz(17.3716, 9.7258, 17.1788) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.57
Deep Magenta
#A0025C
ΔE00 5.79
Dark Fuchsia
#9D0759
ΔE00 6.23
Dark Magenta
#960056
ΔE00 6.62
Warm Purple
#952E8F
ΔE00 6.68
Bruise
#7E4071
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2873 #289B50
analogous
#89289B #9B2873 #9B2839
triadic
#9B2873 #739B28 #28739B
tetradic
#9B2873 #9B8928 #289B50 #28399B
square
#9B2873 #9B8928 #289B50 #28399B
split-complementary
#9B2873 #399B28 #289B89
monochromatic
#3A0F2B #6A1B4F #9B2873 #CB3597 #D766B0
Accessibility & contrast
On white
7.13
#9B2873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9B2873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2873
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2873 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#595F70
Tritanopia (blue-blind)
#A6264A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b2873; /* rgb */ color: rgb(155, 40, 115); /* oklch */ color: oklch(48.2% 0.168 345.3);
Tailwind
colors: {
custom: {
50: '#bc6d9b',
500: '#9b2873',
950: '#000000',
},
}SCSS
$custom: #9b2873; $custom-light: #bc6d9b; $custom-dark: #000000;
JSON
{
"hex": "#9b2873",
"rgb": {
"r": 155,
"g": 40,
"b": 115
},
"hsl": {
"h": 320.87,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.48218,
"c": 0.16847,
"h": 345.3
},
"luminance": 0.09724
}Semantic roles & 50–950 ramp
primary
#9B2873
secondary
#61BD81
accent
#E27C46
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E