#9B2B82#9B2B82
#9B2B82 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.175 H 338.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2B82 |
|---|---|
| RGB | rgb(155, 43, 130) |
| HSL | hsl(313, 57%, 39%) |
| HSV | hsv(313, 72%, 61%) |
| CMYK | cmyk(0%, 72.3%, 16.1%, 39.2%) |
| CIE-LAB | lab(38.39, 54.85, -23.82) |
| CIE-LCH | lch(38.39, 59.80, 336.53°) |
| OKLab | oklab(49.2% 0.1623 -0.0645) |
| OKLCH | oklch(49.2% 0.175 338.3) |
| XYZ | xyz(18.4111, 10.3097, 22.1351) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.43
Barney Purple
#A00498
ΔE00 5.47
Light Eggplant
#894585
ΔE00 5.78
Red Violet
#9E0168
ΔE00 6.15
Ugly Purple
#A442A0
ΔE00 6.83
Bruise
#7E4071
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2B82 #2B9B44
analogous
#7C2B9B #9B2B82 #9B2B4A
triadic
#9B2B82 #829B2B #2B829B
tetradic
#9B2B82 #9B7C2B #2B9B44 #2B4A9B
square
#9B2B82 #9B7C2B #2B9B44 #2B4A9B
split-complementary
#9B2B82 #4A9B2B #2B9B7C
monochromatic
#3B1032 #6B1E5A #9B2B82 #C93BA9 #D66BBE
Accessibility & contrast
On white
6.86
#9B2B82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9B2B82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2B82
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2B82 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#A43053
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9b2b82; /* rgb */ color: rgb(155, 43, 130); /* oklch */ color: oklch(49.2% 0.175 338.3);
Tailwind
colors: {
custom: {
50: '#bc6fa6',
500: '#9b2b82',
950: '#000000',
},
}SCSS
$custom: #9b2b82; $custom-light: #bc6fa6; $custom-dark: #000000;
JSON
{
"hex": "#9b2b82",
"rgb": {
"r": 155,
"g": 43,
"b": 130
},
"hsl": {
"h": 313.393,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.49198,
"c": 0.17469,
"h": 338.3
},
"luminance": 0.10308
}Semantic roles & 50–950 ramp
primary
#9B2B82
secondary
#65BC79
accent
#E06A48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F