#9A2046#9A2046
#9A2046 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 8.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2046 |
|---|---|
| RGB | rgb(154, 32, 70) |
| HSL | hsl(341, 66%, 36%) |
| HSV | hsv(341, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 54.5%, 39.6%) |
| CIE-LAB | lab(34.70, 51.38, 8.77) |
| CIE-LCH | lch(34.70, 52.13, 9.69°) |
| OKLab | oklab(45.74% 0.1564 0.0224) |
| OKLCH | oklch(45.74% 0.158 8.2) |
| XYZ | xyz(14.9498, 8.3474, 6.6172) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.36
Berry
#990F4B
ΔE00 3.39
Purple Red
#990147
ΔE00 3.40
Purplish Red
#B0054B
ΔE00 3.96
Raspberry (survey)
#B00149
ΔE00 3.96
Red Wine
#8C0034
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2046 #209A74
analogous
#9A2083 #9A2046 #9A3720
triadic
#9A2046 #469A20 #20469A
tetradic
#9A2046 #839A20 #209A74 #37209A
square
#9A2046 #839A20 #209A74 #37209A
split-complementary
#9A2046 #209A37 #20839A
monochromatic
#350B18 #67152F #9A2046 #CD2B5D #DC5881
Accessibility & contrast
On white
7.87
#9A2046 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9A2046 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2046
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2046 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2046 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404247
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#A80030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a2046; /* rgb */ color: rgb(154, 32, 70); /* oklch */ color: oklch(45.7% 0.158 8.2);
Tailwind
colors: {
custom: {
50: '#be6879',
500: '#9a2046',
950: '#000000',
},
}SCSS
$custom: #9a2046; $custom-light: #be6879; $custom-dark: #000000;
JSON
{
"hex": "#9a2046",
"rgb": {
"r": 154,
"g": 32,
"b": 70
},
"hsl": {
"h": 341.311,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.45743,
"c": 0.15803,
"h": 8.2
},
"luminance": 0.08345
}Semantic roles & 50–950 ramp
primary
#9A2046
secondary
#56C09F
accent
#E9B43F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B