#9A2248#9A2248
#9A2248 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.157 H 7.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2248 |
|---|---|
| RGB | rgb(154, 34, 72) |
| HSL | hsl(341, 64%, 37%) |
| HSV | hsv(341, 78%, 60%) |
| CMYK | cmyk(0%, 77.9%, 53.2%, 39.6%) |
| CIE-LAB | lab(34.97, 50.91, 7.86) |
| CIE-LCH | lch(34.97, 51.52, 8.78°) |
| OKLab | oklab(45.96% 0.1552 0.0203) |
| OKLCH | oklch(45.96% 0.157 7.4) |
| XYZ | xyz(15.0695, 8.4841, 6.9737) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.16
Purple Red
#990147
ΔE00 3.33
Cranberry
#9E003A
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.05
Violet Red
#A50055
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2248 #229A74
analogous
#9A2284 #9A2248 #9A3822
triadic
#9A2248 #489A22 #22489A
tetradic
#9A2248 #849A22 #229A74 #38229A
square
#9A2248 #849A22 #229A74 #38229A
split-complementary
#9A2248 #229A38 #22849A
monochromatic
#360C19 #681731 #9A2248 #CC2D5F #DB5B84
Accessibility & contrast
On white
7.79
#9A2248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9A2248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2248
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2248 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2248; /* rgb */ color: rgb(154, 34, 72); /* oklch */ color: oklch(46.0% 0.157 7.4);
Tailwind
colors: {
custom: {
50: '#be697a',
500: '#9a2248',
950: '#000000',
},
}SCSS
$custom: #9a2248; $custom-light: #be697a; $custom-dark: #000000;
JSON
{
"hex": "#9a2248",
"rgb": {
"r": 154,
"g": 34,
"b": 72
},
"hsl": {
"h": 341,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.45963,
"c": 0.1565,
"h": 7.4
},
"luminance": 0.08482
}Semantic roles & 50–950 ramp
primary
#9A2248
secondary
#58BF9F
accent
#E7B241
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B