#9A2152#9A2152
#9A2152 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.160 H 1.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2152 |
|---|---|
| RGB | rgb(154, 33, 82) |
| HSL | hsl(336, 65%, 37%) |
| HSV | hsv(336, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 46.8%, 39.6%) |
| CIE-LAB | lab(35.14, 52.12, 1.62) |
| CIE-LCH | lch(35.14, 52.14, 1.78°) |
| OKLab | oklab(46.18% 0.1599 0.0047) |
| OKLCH | oklch(46.18% 0.16 1.7) |
| XYZ | xyz(15.3945, 8.5690, 8.8243) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.05
Violet Red
#A50055
ΔE00 2.71
Purple Red
#990147
ΔE00 3.07
Mulberry
#920A4E
ΔE00 3.33
Dark Fuchsia
#9D0759
ΔE00 3.53
Reddish Purple
#910951
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2152 #219A69
analogous
#9A218F #9A2152 #9A2C21
triadic
#9A2152 #529A21 #21529A
tetradic
#9A2152 #8F9A21 #219A69 #2C219A
square
#9A2152 #8F9A21 #219A69 #2C219A
split-complementary
#9A2152 #219A2C #218F9A
monochromatic
#350B1C #681637 #9A2152 #CC2C6D #DC5A8E
Accessibility & contrast
On white
7.74
#9A2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9A2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2152
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2152 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#A80437
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9a2152; /* rgb */ color: rgb(154, 33, 82); /* oklch */ color: oklch(46.2% 0.160 1.7);
Tailwind
colors: {
custom: {
50: '#bd6982',
500: '#9a2152',
950: '#000000',
},
}SCSS
$custom: #9a2152; $custom-light: #bd6982; $custom-dark: #000000;
JSON
{
"hex": "#9a2152",
"rgb": {
"r": 154,
"g": 33,
"b": 82
},
"hsl": {
"h": 335.702,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.4618,
"c": 0.16001,
"h": 1.7
},
"luminance": 0.08567
}Semantic roles & 50–950 ramp
primary
#9A2152
secondary
#57C095
accent
#E8A440
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C