#9A204A#9A204A
#9A204A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.159 H 6.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9A204A |
|---|---|
| RGB | rgb(154, 32, 74) |
| HSL | hsl(339, 66%, 36%) |
| HSV | hsv(339, 79%, 60%) |
| CMYK | cmyk(0%, 79.2%, 51.9%, 39.6%) |
| CIE-LAB | lab(34.80, 51.71, 6.32) |
| CIE-LCH | lch(34.80, 52.10, 6.97°) |
| OKLab | oklab(45.86% 0.158 0.0165) |
| OKLCH | oklch(45.86% 0.159 6) |
| XYZ | xyz(15.0803, 8.3996, 7.3044) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.37
Purple Red
#990147
ΔE00 2.72
Purplish Red
#B0054B
ΔE00 4.08
Violet Red
#A50055
ΔE00 4.17
Raspberry (survey)
#B00149
ΔE00 4.22
Cranberry
#9E003A
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A204A #209A70
analogous
#9A2087 #9A204A #9A3320
triadic
#9A204A #4A9A20 #204A9A
tetradic
#9A204A #879A20 #209A70 #33209A
square
#9A204A #879A20 #209A70 #33209A
split-complementary
#9A204A #209A33 #20879A
monochromatic
#350B19 #671532 #9A204A #CD2B62 #DC5886
Accessibility & contrast
On white
7.84
#9A204A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A204A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A204A
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A204A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A204A | 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)
#3F424B
Deuteranopia (green-blind)
#5F5B47
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a204a; /* rgb */ color: rgb(154, 32, 74); /* oklch */ color: oklch(45.9% 0.159 6.0);
Tailwind
colors: {
custom: {
50: '#be687c',
500: '#9a204a',
950: '#000000',
},
}SCSS
$custom: #9a204a; $custom-light: #be687c; $custom-dark: #000000;
JSON
{
"hex": "#9a204a",
"rgb": {
"r": 154,
"g": 32,
"b": 74
},
"hsl": {
"h": 339.344,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.45855,
"c": 0.15884,
"h": 6
},
"luminance": 0.08397
}Semantic roles & 50–950 ramp
primary
#9A204A
secondary
#56C09C
accent
#E9AE3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B