#9A2148#9A2148
#9A2148 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 7.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2148 |
|---|---|
| RGB | rgb(154, 33, 72) |
| HSL | hsl(341, 65%, 37%) |
| HSV | hsv(341, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 53.2%, 39.6%) |
| CIE-LAB | lab(34.86, 51.23, 7.70) |
| CIE-LCH | lch(34.86, 51.81, 8.55°) |
| OKLab | oklab(45.88% 0.1562 0.0199) |
| OKLCH | oklch(45.88% 0.157 7.2) |
| XYZ | xyz(15.0414, 8.4277, 6.9643) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.00
Purple Red
#990147
ΔE00 3.17
Cranberry
#9E003A
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 3.97
Raspberry (survey)
#B00149
ΔE00 4.04
Violet Red
#A50055
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2148 #219A73
analogous
#9A2185 #9A2148 #9A3721
triadic
#9A2148 #489A21 #21489A
tetradic
#9A2148 #859A21 #219A73 #37219A
square
#9A2148 #859A21 #219A73 #37219A
split-complementary
#9A2148 #219A37 #21859A
monochromatic
#350B19 #681630 #9A2148 #CC2C60 #DC5A84
Accessibility & contrast
On white
7.82
#9A2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9A2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2148
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2148 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404349
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2148; /* rgb */ color: rgb(154, 33, 72); /* oklch */ color: oklch(45.9% 0.157 7.2);
Tailwind
colors: {
custom: {
50: '#be697a',
500: '#9a2148',
950: '#000000',
},
}SCSS
$custom: #9a2148; $custom-light: #be697a; $custom-dark: #000000;
JSON
{
"hex": "#9a2148",
"rgb": {
"r": 154,
"g": 33,
"b": 72
},
"hsl": {
"h": 340.661,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.45879,
"c": 0.15747,
"h": 7.2
},
"luminance": 0.08426
}Semantic roles & 50–950 ramp
primary
#9A2148
secondary
#57C09E
accent
#E8B240
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B