#9B204A#9B204A
#9B204A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.160 H 6.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9B204A |
|---|---|
| RGB | rgb(155, 32, 74) |
| HSL | hsl(340, 66%, 37%) |
| HSV | hsv(340, 79%, 61%) |
| CMYK | cmyk(0%, 79.4%, 52.3%, 39.2%) |
| CIE-LAB | lab(35.00, 52.00, 6.63) |
| CIE-LCH | lch(35.00, 52.42, 7.27°) |
| OKLab | oklab(46.04% 0.1588 0.0173) |
| OKLCH | oklch(46.04% 0.16 6.2) |
| XYZ | xyz(15.2715, 8.4981, 7.3134) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.53
Purple Red
#990147
ΔE00 2.85
Purplish Red
#B0054B
ΔE00 3.87
Raspberry (survey)
#B00149
ΔE00 4.01
Violet Red
#A50055
ΔE00 4.22
Cranberry
#9E003A
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B204A #209B71
analogous
#9B2088 #9B204A #9B3420
triadic
#9B204A #4A9B20 #204A9B
tetradic
#9B204A #889B20 #209B71 #34209B
square
#9B204A #889B20 #209B71 #34209B
split-complementary
#9B204A #209B34 #20889B
monochromatic
#360B1A #681632 #9B204A #CE2A62 #DD5986
Accessibility & contrast
On white
7.78
#9B204A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9B204A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B204A
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B204A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B204A | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#A90032
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b204a; /* rgb */ color: rgb(155, 32, 74); /* oklch */ color: oklch(46.0% 0.160 6.2);
Tailwind
colors: {
custom: {
50: '#be687c',
500: '#9b204a',
950: '#000000',
},
}SCSS
$custom: #9b204a; $custom-light: #be687c; $custom-dark: #000000;
JSON
{
"hex": "#9b204a",
"rgb": {
"r": 155,
"g": 32,
"b": 74
},
"hsl": {
"h": 339.512,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.46036,
"c": 0.15974,
"h": 6.2
},
"luminance": 0.08496
}Semantic roles & 50–950 ramp
primary
#9B204A
secondary
#56C19C
accent
#E9AF3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B