#9A2145#9A2145
#9A2145 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.157 H 8.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2145 |
|---|---|
| RGB | rgb(154, 33, 69) |
| HSL | hsl(342, 65%, 37%) |
| HSV | hsv(342, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 55.2%, 39.6%) |
| CIE-LAB | lab(34.78, 50.99, 9.54) |
| CIE-LCH | lch(34.78, 51.88, 10.60°) |
| OKLab | oklab(45.8% 0.155 0.0243) |
| OKLCH | oklch(45.8% 0.157 8.9) |
| XYZ | xyz(14.9459, 8.3895, 6.4614) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.16
Purple Red
#990147
ΔE00 3.79
Berry
#990F4B
ΔE00 3.82
Raspberry (survey)
#B00149
ΔE00 3.99
Purplish Red
#B0054B
ΔE00 4.03
Red Wine
#8C0034
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2145 #219A76
analogous
#9A2182 #9A2145 #9A3A21
triadic
#9A2145 #459A21 #21459A
tetradic
#9A2145 #829A21 #219A76 #3A219A
square
#9A2145 #829A21 #219A76 #3A219A
split-complementary
#9A2145 #219A3A #21829A
monochromatic
#350B18 #68162E #9A2145 #CC2C5C #DC5A80
Accessibility & contrast
On white
7.84
#9A2145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A2145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2145
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2145 | 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)
#414246
Deuteranopia (green-blind)
#605B42
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2145; /* rgb */ color: rgb(154, 33, 69); /* oklch */ color: oklch(45.8% 0.157 8.9);
Tailwind
colors: {
custom: {
50: '#be6978',
500: '#9a2145',
950: '#000000',
},
}SCSS
$custom: #9a2145; $custom-light: #be6978; $custom-dark: #000000;
JSON
{
"hex": "#9a2145",
"rgb": {
"r": 154,
"g": 33,
"b": 69
},
"hsl": {
"h": 342.149,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.45798,
"c": 0.15692,
"h": 8.9
},
"luminance": 0.08387
}Semantic roles & 50–950 ramp
primary
#9A2145
secondary
#57C0A1
accent
#E8B640
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B