#9B2A76#9B2A76
#9B2A76 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.168 H 344.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2A76 |
|---|---|
| RGB | rgb(155, 42, 118) |
| HSL | hsl(320, 57%, 39%) |
| HSV | hsv(320, 73%, 61%) |
| CMYK | cmyk(0%, 72.9%, 23.9%, 39.2%) |
| CIE-LAB | lab(37.72, 53.51, -17.39) |
| CIE-LCH | lch(37.72, 56.26, 341.99°) |
| OKLab | oklab(48.54% 0.1614 -0.0464) |
| OKLCH | oklch(48.54% 0.168 344) |
| XYZ | xyz(17.6162, 9.9343, 18.1258) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.13
Warm Purple
#952E8F
ΔE00 6.07
Deep Magenta
#A0025C
ΔE00 6.45
Bruise
#7E4071
ΔE00 6.86
Dark Fuchsia
#9D0759
ΔE00 6.90
Light Eggplant
#894585
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2A76 #2A9B4F
analogous
#872A9B #9B2A76 #9B2A3D
triadic
#9B2A76 #769B2A #2A769B
tetradic
#9B2A76 #9B872A #2A9B4F #2A3D9B
square
#9B2A76 #9B872A #2A9B4F #2A3D9B
split-complementary
#9B2A76 #3D9B2A #2A9B87
monochromatic
#3B102D #6B1D51 #9B2A76 #C9399A #D669B3
Accessibility & contrast
On white
7.03
#9B2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#9B2A76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2A76
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2A76 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364D78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#A5294C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9b2a76; /* rgb */ color: rgb(155, 42, 118); /* oklch */ color: oklch(48.5% 0.168 344.0);
Tailwind
colors: {
custom: {
50: '#bc6e9d',
500: '#9b2a76',
950: '#000000',
},
}SCSS
$custom: #9b2a76; $custom-light: #bc6e9d; $custom-dark: #000000;
JSON
{
"hex": "#9b2a76",
"rgb": {
"r": 155,
"g": 42,
"b": 118
},
"hsl": {
"h": 319.646,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.48535,
"c": 0.16793,
"h": 344
},
"luminance": 0.09932
}Semantic roles & 50–950 ramp
primary
#9B2A76
secondary
#64BD81
accent
#E17947
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E