#9A2A71#9A2A71
#9A2A71 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.164 H 346.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2A71 |
|---|---|
| RGB | rgb(154, 42, 113) |
| HSL | hsl(322, 57%, 38%) |
| HSV | hsv(322, 73%, 60%) |
| CMYK | cmyk(0%, 72.7%, 26.6%, 39.6%) |
| CIE-LAB | lab(37.34, 52.57, -14.87) |
| CIE-LCH | lch(37.34, 54.63, 344.20°) |
| OKLab | oklab(48.15% 0.1594 -0.0394) |
| OKLCH | oklch(48.15% 0.164 346.1) |
| XYZ | xyz(17.1358, 9.7200, 16.5933) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.61
Deep Magenta
#A0025C
ΔE00 5.54
Dark Fuchsia
#9D0759
ΔE00 5.94
Dark Magenta
#960056
ΔE00 6.36
Bruise
#7E4071
ΔE00 6.88
Warm Purple
#952E8F
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2A71 #2A9A53
analogous
#8B2A9A #9A2A71 #9A2A39
triadic
#9A2A71 #719A2A #2A719A
tetradic
#9A2A71 #9A8B2A #2A9A53 #2A399A
square
#9A2A71 #9A8B2A #2A9A53 #2A399A
split-complementary
#9A2A71 #399A2A #2A9A8B
monochromatic
#3A102A #6A1D4E #9A2A71 #C93894 #D668AE
Accessibility & contrast
On white
7.13
#9A2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9A2A71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2A71
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2A71 | 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)
#384C73
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#A5274A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9a2a71; /* rgb */ color: rgb(154, 42, 113); /* oklch */ color: oklch(48.1% 0.164 346.1);
Tailwind
colors: {
custom: {
50: '#bc6e9a',
500: '#9a2a71',
950: '#000000',
},
}SCSS
$custom: #9a2a71; $custom-light: #bc6e9a; $custom-dark: #000000;
JSON
{
"hex": "#9a2a71",
"rgb": {
"r": 154,
"g": 42,
"b": 113
},
"hsl": {
"h": 321.964,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.48149,
"c": 0.16416,
"h": 346.1
},
"luminance": 0.09718
}Semantic roles & 50–950 ramp
primary
#9A2A71
secondary
#63BC84
accent
#E07F47
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E