#9A2247#9A2247
#9A2247 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.156 H 8.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2247 |
|---|---|
| RGB | rgb(154, 34, 71) |
| HSL | hsl(342, 64%, 37%) |
| HSV | hsv(342, 78%, 60%) |
| CMYK | cmyk(0%, 77.9%, 53.9%, 39.6%) |
| CIE-LAB | lab(34.95, 50.83, 8.47) |
| CIE-LCH | lch(34.95, 51.53, 9.46°) |
| OKLab | oklab(45.93% 0.1548 0.0217) |
| OKLCH | oklch(45.93% 0.156 8) |
| XYZ | xyz(15.0372, 8.4711, 6.8033) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.42
Purple Red
#990147
ΔE00 3.52
Cranberry
#9E003A
ΔE00 3.63
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.01
Red Wine
#8C0034
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2247 #229A75
analogous
#9A2283 #9A2247 #9A3922
triadic
#9A2247 #479A22 #22479A
tetradic
#9A2247 #839A22 #229A75 #39229A
square
#9A2247 #839A22 #229A75 #39229A
split-complementary
#9A2247 #229A39 #22839A
monochromatic
#360C19 #681730 #9A2247 #CC2D5E #DB5B83
Accessibility & contrast
On white
7.80
#9A2247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9A2247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2247
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2247 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414348
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2247; /* rgb */ color: rgb(154, 34, 71); /* oklch */ color: oklch(45.9% 0.156 8.0);
Tailwind
colors: {
custom: {
50: '#be6979',
500: '#9a2247',
950: '#000000',
},
}SCSS
$custom: #9a2247; $custom-light: #be6979; $custom-dark: #000000;
JSON
{
"hex": "#9a2247",
"rgb": {
"r": 154,
"g": 34,
"b": 71
},
"hsl": {
"h": 341.5,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.45935,
"c": 0.15631,
"h": 8
},
"luminance": 0.08469
}Semantic roles & 50–950 ramp
primary
#9A2247
secondary
#58BFA0
accent
#E7B441
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B