#9B2282#9B2282
#9B2282 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.185 H 338.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2282 |
|---|---|
| RGB | rgb(155, 34, 130) |
| HSL | hsl(312, 64%, 37%) |
| HSV | hsv(312, 78%, 61%) |
| CMYK | cmyk(0%, 78.1%, 16.1%, 39.2%) |
| CIE-LAB | lab(37.35, 57.82, -25.45) |
| CIE-LCH | lch(37.35, 63.18, 336.24°) |
| OKLab | oklab(48.44% 0.1713 -0.0691) |
| OKLCH | oklch(48.44% 0.185 338) |
| XYZ | xyz(18.1193, 9.7261, 22.0378) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.36
Barney Purple
#A00498
ΔE00 4.66
Red Violet
#9E0168
ΔE00 5.86
Darkmagenta
#8B008B
ΔE00 6.19
Light Eggplant
#894585
ΔE00 6.69
Purple
#800080
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2282 #229B3B
analogous
#78229B #9B2282 #9B2245
triadic
#9B2282 #829B22 #22829B
tetradic
#9B2282 #9B7822 #229B3B #22459B
square
#9B2282 #9B7822 #229B3B #22459B
split-complementary
#9B2282 #459B22 #229B78
monochromatic
#370C2E #691758 #9B2282 #CD2DAC #DB5CC1
Accessibility & contrast
On white
7.13
#9B2282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9B2282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2282
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2282 | 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)
#284C85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A42950
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b2282; /* rgb */ color: rgb(155, 34, 130); /* oklch */ color: oklch(48.4% 0.185 338.0);
Tailwind
colors: {
custom: {
50: '#bc6ba6',
500: '#9b2282',
950: '#000000',
},
}SCSS
$custom: #9b2282; $custom-light: #bc6ba6; $custom-dark: #000000;
JSON
{
"hex": "#9b2282",
"rgb": {
"r": 155,
"g": 34,
"b": 130
},
"hsl": {
"h": 312.397,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.48441,
"c": 0.18469,
"h": 338
},
"luminance": 0.09724
}Semantic roles & 50–950 ramp
primary
#9B2282
secondary
#59C06E
accent
#E76341
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F