#9A2147#9A2147
#9A2147 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 7.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2147 |
|---|---|
| RGB | rgb(154, 33, 71) |
| HSL | hsl(341, 65%, 37%) |
| HSV | hsv(341, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 53.9%, 39.6%) |
| CIE-LAB | lab(34.83, 51.15, 8.32) |
| CIE-LCH | lch(34.83, 51.82, 9.23°) |
| OKLab | oklab(45.85% 0.1558 0.0214) |
| OKLCH | oklch(45.85% 0.157 7.8) |
| XYZ | xyz(15.0090, 8.4148, 6.7939) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.26
Purple Red
#990147
ΔE00 3.35
Cranberry
#9E003A
ΔE00 3.61
Purplish Red
#B0054B
ΔE00 3.96
Raspberry (survey)
#B00149
ΔE00 4.00
Red Wine
#8C0034
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2147 #219A74
analogous
#9A2184 #9A2147 #9A3821
triadic
#9A2147 #479A21 #21479A
tetradic
#9A2147 #849A21 #219A74 #38219A
square
#9A2147 #849A21 #219A74 #38219A
split-complementary
#9A2147 #219A38 #21849A
monochromatic
#350B19 #681630 #9A2147 #CC2C5E #DC5A83
Accessibility & contrast
On white
7.83
#9A2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2147
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2147 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414248
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2147; /* rgb */ color: rgb(154, 33, 71); /* oklch */ color: oklch(45.9% 0.157 7.8);
Tailwind
colors: {
custom: {
50: '#be6979',
500: '#9a2147',
950: '#000000',
},
}SCSS
$custom: #9a2147; $custom-light: #be6979; $custom-dark: #000000;
JSON
{
"hex": "#9a2147",
"rgb": {
"r": 154,
"g": 33,
"b": 71
},
"hsl": {
"h": 341.157,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.45852,
"c": 0.15728,
"h": 7.8
},
"luminance": 0.08413
}Semantic roles & 50–950 ramp
primary
#9A2147
secondary
#57C09F
accent
#E8B340
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B