#9A2047#9A2047
#9A2047 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.158 H 7.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2047 |
|---|---|
| RGB | rgb(154, 32, 71) |
| HSL | hsl(341, 66%, 36%) |
| HSV | hsv(341, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 53.9%, 39.6%) |
| CIE-LAB | lab(34.72, 51.46, 8.16) |
| CIE-LCH | lch(34.72, 52.11, 9.01°) |
| OKLab | oklab(45.77% 0.1568 0.021) |
| OKLCH | oklch(45.77% 0.158 7.6) |
| XYZ | xyz(14.9817, 8.3601, 6.7848) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.11
Purple Red
#990147
ΔE00 3.19
Cranberry
#9E003A
ΔE00 3.61
Purplish Red
#B0054B
ΔE00 3.95
Raspberry (survey)
#B00149
ΔE00 3.99
Violet Red
#A50055
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2047 #209A73
analogous
#9A2084 #9A2047 #9A3620
triadic
#9A2047 #479A20 #20479A
tetradic
#9A2047 #849A20 #209A73 #36209A
square
#9A2047 #849A20 #209A73 #36209A
split-complementary
#9A2047 #209A36 #20849A
monochromatic
#350B18 #671530 #9A2047 #CD2B5E #DC5882
Accessibility & contrast
On white
7.86
#9A2047 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9A2047 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2047
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2047 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#605A44
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2047; /* rgb */ color: rgb(154, 32, 71); /* oklch */ color: oklch(45.8% 0.158 7.6);
Tailwind
colors: {
custom: {
50: '#be6879',
500: '#9a2047',
950: '#000000',
},
}SCSS
$custom: #9a2047; $custom-light: #be6879; $custom-dark: #000000;
JSON
{
"hex": "#9a2047",
"rgb": {
"r": 154,
"g": 32,
"b": 71
},
"hsl": {
"h": 340.82,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.4577,
"c": 0.15822,
"h": 7.6
},
"luminance": 0.08358
}Semantic roles & 50–950 ramp
primary
#9A2047
secondary
#56C09E
accent
#E9B23F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B