#9A2142#9A2142
#9A2142 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.156 H 10.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2142 |
|---|---|
| RGB | rgb(154, 33, 66) |
| HSL | hsl(344, 65%, 37%) |
| HSV | hsv(344, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 57.1%, 39.6%) |
| CIE-LAB | lab(34.71, 50.76, 11.39) |
| CIE-LCH | lch(34.71, 52.02, 12.65°) |
| OKLab | oklab(45.72% 0.1538 0.0286) |
| OKLCH | oklch(45.72% 0.156 10.5) |
| XYZ | xyz(14.8551, 8.3532, 5.9833) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.65
Raspberry (survey)
#B00149
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 4.33
Purple Red
#990147
ΔE00 4.56
Red Wine
#8C0034
ΔE00 4.60
Berry
#990F4B
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2142 #219A79
analogous
#9A217F #9A2142 #9A3C21
triadic
#9A2142 #429A21 #21429A
tetradic
#9A2142 #7F9A21 #219A79 #3C219A
square
#9A2142 #7F9A21 #219A79 #3C219A
split-complementary
#9A2142 #219A3C #217F9A
monochromatic
#350B17 #68162C #9A2142 #CC2C58 #DC5A7D
Accessibility & contrast
On white
7.86
#9A2142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9A2142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2142
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2142 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424243
Deuteranopia (green-blind)
#615A3F
Tritanopia (blue-blind)
#A9002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2142; /* rgb */ color: rgb(154, 33, 66); /* oklch */ color: oklch(45.7% 0.156 10.5);
Tailwind
colors: {
custom: {
50: '#be6876',
500: '#9a2142',
950: '#000000',
},
}SCSS
$custom: #9a2142; $custom-light: #be6876; $custom-dark: #000000;
JSON
{
"hex": "#9a2142",
"rgb": {
"r": 154,
"g": 33,
"b": 66
},
"hsl": {
"h": 343.636,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.4572,
"c": 0.15648,
"h": 10.5
},
"luminance": 0.08351
}Semantic roles & 50–950 ramp
primary
#9A2142
secondary
#57C0A3
accent
#E8BA40
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B