#9A2146#9A2146
#9A2146 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.157 H 8.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2146 |
|---|---|
| RGB | rgb(154, 33, 70) |
| HSL | hsl(342, 65%, 37%) |
| HSV | hsv(342, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 54.5%, 39.6%) |
| CIE-LAB | lab(34.81, 51.07, 8.93) |
| CIE-LCH | lch(34.81, 51.84, 9.92°) |
| OKLab | oklab(45.82% 0.1554 0.0228) |
| OKLCH | oklch(45.82% 0.157 8.4) |
| XYZ | xyz(14.9772, 8.4021, 6.6263) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.38
Berry
#990F4B
ΔE00 3.54
Purple Red
#990147
ΔE00 3.56
Raspberry (survey)
#B00149
ΔE00 3.98
Purplish Red
#B0054B
ΔE00 3.98
Red Wine
#8C0034
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2146 #219A75
analogous
#9A2183 #9A2146 #9A3921
triadic
#9A2146 #469A21 #21469A
tetradic
#9A2146 #839A21 #219A75 #39219A
square
#9A2146 #839A21 #219A75 #39219A
split-complementary
#9A2146 #219A39 #21839A
monochromatic
#350B18 #68162F #9A2146 #CC2C5D #DC5A81
Accessibility & contrast
On white
7.84
#9A2146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A2146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2146
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2146 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414247
Deuteranopia (green-blind)
#605B43
Tritanopia (blue-blind)
#A80031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2146; /* rgb */ color: rgb(154, 33, 70); /* oklch */ color: oklch(45.8% 0.157 8.4);
Tailwind
colors: {
custom: {
50: '#be6979',
500: '#9a2146',
950: '#000000',
},
}SCSS
$custom: #9a2146; $custom-light: #be6979; $custom-dark: #000000;
JSON
{
"hex": "#9a2146",
"rgb": {
"r": 154,
"g": 33,
"b": 70
},
"hsl": {
"h": 341.653,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.45824,
"c": 0.1571,
"h": 8.4
},
"luminance": 0.084
}Semantic roles & 50–950 ramp
primary
#9A2146
secondary
#57C0A0
accent
#E8B440
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B