#9A2C71#9A2C71
#9A2C71 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.162 H 346.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2C71 |
|---|---|
| RGB | rgb(154, 44, 113) |
| HSL | hsl(322, 56%, 39%) |
| HSV | hsv(322, 71%, 60%) |
| CMYK | cmyk(0%, 71.4%, 26.6%, 39.6%) |
| CIE-LAB | lab(37.60, 51.83, -14.47) |
| CIE-LCH | lch(37.60, 53.81, 344.40°) |
| OKLab | oklab(48.34% 0.1571 -0.0383) |
| OKLCH | oklch(48.34% 0.162 346.3) |
| XYZ | xyz(17.2085, 9.8655, 16.6175) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.87
Deep Magenta
#A0025C
ΔE00 5.63
Dark Fuchsia
#9D0759
ΔE00 6.01
Dark Magenta
#960056
ΔE00 6.48
Bruise
#7E4071
ΔE00 6.76
Magenta (survey)
#C20078
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2C71 #2C9A55
analogous
#8C2C9A #9A2C71 #9A2C3A
triadic
#9A2C71 #719A2C #2C719A
tetradic
#9A2C71 #9A8C2C #2C9A55 #2C3A9A
square
#9A2C71 #9A8C2C #2C9A55 #2C3A9A
split-complementary
#9A2C71 #3A9A2C #2C9A8C
monochromatic
#3B112B #6A1E4E #9A2C71 #C73C93 #D56CAE
Accessibility & contrast
On white
7.06
#9A2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9A2C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2C71
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2C71 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4C73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A5294A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9a2c71; /* rgb */ color: rgb(154, 44, 113); /* oklch */ color: oklch(48.3% 0.162 346.3);
Tailwind
colors: {
custom: {
50: '#bb6f9a',
500: '#9a2c71',
950: '#000000',
},
}SCSS
$custom: #9a2c71; $custom-light: #bb6f9a; $custom-dark: #000000;
JSON
{
"hex": "#9a2c71",
"rgb": {
"r": 154,
"g": 44,
"b": 113
},
"hsl": {
"h": 322.364,
"s": 55.556,
"l": 38.824
},
"oklch": {
"l": 0.48343,
"c": 0.16166,
"h": 346.3
},
"luminance": 0.09864
}Semantic roles & 50–950 ramp
primary
#9A2C71
secondary
#66BC86
accent
#DF8149
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E