#9A204D#9A204D
#9A204D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 4.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9A204D |
|---|---|
| RGB | rgb(154, 32, 77) |
| HSL | hsl(338, 66%, 36%) |
| HSV | hsv(338, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 50%, 39.6%) |
| CIE-LAB | lab(34.88, 51.97, 4.49) |
| CIE-LCH | lch(34.88, 52.16, 4.94°) |
| OKLab | oklab(45.94% 0.1591 0.012) |
| OKLCH | oklch(45.94% 0.16 4.3) |
| XYZ | xyz(15.1838, 8.4410, 7.8495) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.87
Purple Red
#990147
ΔE00 2.56
Violet Red
#A50055
ΔE00 3.45
Mulberry
#920A4E
ΔE00 4.01
Purplish Red
#B0054B
ΔE00 4.41
Raspberry (survey)
#B00149
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A204D #209A6D
analogous
#9A208A #9A204D #9A3020
triadic
#9A204D #4D9A20 #204D9A
tetradic
#9A204D #8A9A20 #209A6D #30209A
square
#9A204D #8A9A20 #209A6D #30209A
split-complementary
#9A204D #209A30 #208A9A
monochromatic
#350B1A #671534 #9A204D #CD2B66 #DC5889
Accessibility & contrast
On white
7.81
#9A204D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9A204D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A204D
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A204D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A204D | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#A80034
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a204d; /* rgb */ color: rgb(154, 32, 77); /* oklch */ color: oklch(45.9% 0.160 4.3);
Tailwind
colors: {
custom: {
50: '#bd687e',
500: '#9a204d',
950: '#000000',
},
}SCSS
$custom: #9a204d; $custom-light: #bd687e; $custom-dark: #000000;
JSON
{
"hex": "#9a204d",
"rgb": {
"r": 154,
"g": 32,
"b": 77
},
"hsl": {
"h": 337.869,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.45944,
"c": 0.15956,
"h": 4.3
},
"luminance": 0.08439
}Semantic roles & 50–950 ramp
primary
#9A204D
secondary
#56C099
accent
#E9AA3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B