#9B2277#9B2277
#9B2277 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.178 H 343.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2277 |
|---|---|
| RGB | rgb(155, 34, 119) |
| HSL | hsl(318, 64%, 37%) |
| HSV | hsv(318, 78%, 61%) |
| CMYK | cmyk(0%, 78.1%, 23.2%, 39.2%) |
| CIE-LAB | lab(36.83, 56.30, -19.40) |
| CIE-LCH | lch(36.83, 59.55, 340.99°) |
| OKLab | oklab(47.9% 0.1698 -0.052) |
| OKLCH | oklch(47.9% 0.178 343) |
| XYZ | xyz(17.4200, 9.4464, 18.3551) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.75
Warm Purple
#952E8F
ΔE00 5.62
Deep Magenta
#A0025C
ΔE00 6.56
Barney Purple
#A00498
ΔE00 6.95
Dark Fuchsia
#9D0759
ΔE00 7.05
Dark Magenta
#960056
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2277 #229B46
analogous
#83229B #9B2277 #9B223B
triadic
#9B2277 #779B22 #22779B
tetradic
#9B2277 #9B8322 #229B46 #223B9B
square
#9B2277 #9B8322 #229B46 #223B9B
split-complementary
#9B2277 #3B9B22 #229B83
monochromatic
#370C2A #691750 #9B2277 #CD2D9E #DB5CB5
Accessibility & contrast
On white
7.27
#9B2277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9B2277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2277
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2277 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#A5234A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9b2277; /* rgb */ color: rgb(155, 34, 119); /* oklch */ color: oklch(47.9% 0.178 343.0);
Tailwind
colors: {
custom: {
50: '#bc6b9e',
500: '#9b2277',
950: '#000000',
},
}SCSS
$custom: #9b2277; $custom-light: #bc6b9e; $custom-dark: #000000;
JSON
{
"hex": "#9b2277",
"rgb": {
"r": 155,
"g": 34,
"b": 119
},
"hsl": {
"h": 317.851,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.479,
"c": 0.17753,
"h": 343
},
"luminance": 0.09445
}Semantic roles & 50–950 ramp
primary
#9B2277
secondary
#59C078
accent
#E77241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E