#9B2A71#9B2A71
#9B2A71 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.165 H 346.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2A71 |
|---|---|
| RGB | rgb(155, 42, 113) |
| HSL | hsl(322, 57%, 39%) |
| HSV | hsv(322, 73%, 61%) |
| CMYK | cmyk(0%, 72.9%, 27.1%, 39.2%) |
| CIE-LAB | lab(37.51, 52.84, -14.58) |
| CIE-LCH | lch(37.51, 54.81, 344.57°) |
| OKLab | oklab(48.31% 0.1603 -0.0386) |
| OKLCH | oklch(48.31% 0.165 346.5) |
| XYZ | xyz(17.3269, 9.8186, 16.6023) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.61
Deep Magenta
#A0025C
ΔE00 5.46
Dark Fuchsia
#9D0759
ΔE00 5.87
Dark Magenta
#960056
ΔE00 6.34
Magenta (survey)
#C20078
ΔE00 6.97
Bruise
#7E4071
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2A71 #2A9B54
analogous
#8C2A9B #9B2A71 #9B2A38
triadic
#9B2A71 #719B2A #2A719B
tetradic
#9B2A71 #9B8C2A #2A9B54 #2A389B
square
#9B2A71 #9B8C2A #2A9B54 #2A389B
split-complementary
#9B2A71 #389B2A #2A9B8C
monochromatic
#3B102B #6B1D4E #9B2A71 #C93994 #D669AE
Accessibility & contrast
On white
7.09
#9B2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9B2A71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2A71
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2A71 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A6274A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b2a71; /* rgb */ color: rgb(155, 42, 113); /* oklch */ color: oklch(48.3% 0.165 346.5);
Tailwind
colors: {
custom: {
50: '#bc6e9a',
500: '#9b2a71',
950: '#000000',
},
}SCSS
$custom: #9b2a71; $custom-light: #bc6e9a; $custom-dark: #000000;
JSON
{
"hex": "#9b2a71",
"rgb": {
"r": 155,
"g": 42,
"b": 113
},
"hsl": {
"h": 322.301,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.48314,
"c": 0.1649,
"h": 346.5
},
"luminance": 0.09817
}Semantic roles & 50–950 ramp
primary
#9B2A71
secondary
#64BD85
accent
#E18047
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E