#9F204A#9F204A
#9F204A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.163 H 7.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9F204A |
|---|---|
| RGB | rgb(159, 32, 74) |
| HSL | hsl(340, 66%, 37%) |
| HSV | hsv(340, 80%, 62%) |
| CMYK | cmyk(0%, 79.9%, 53.5%, 37.6%) |
| CIE-LAB | lab(35.79, 53.13, 7.86) |
| CIE-LCH | lch(35.79, 53.71, 8.42°) |
| OKLab | oklab(46.76% 0.1621 0.0203) |
| OKLCH | oklch(46.76% 0.163 7.1) |
| XYZ | xyz(16.0521, 8.9007, 7.3500) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.10
Raspberry (survey)
#B00149
ΔE00 3.22
Berry
#990F4B
ΔE00 3.25
Purple Red
#990147
ΔE00 3.47
Cranberry
#9E003A
ΔE00 4.01
Violet Red
#A50055
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F204A #209F75
analogous
#9F208A #9F204A #9F3520
triadic
#9F204A #4A9F20 #204A9F
tetradic
#9F204A #8A9F20 #209F75 #35209F
square
#9F204A #8A9F20 #209F75 #35209F
split-complementary
#9F204A #209F35 #208A9F
monochromatic
#390B1B #6C1632 #9F204A #D22A62 #DE5B87
Accessibility & contrast
On white
7.56
#9F204A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F204A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F204A
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F204A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F204A | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42444B
Deuteranopia (green-blind)
#635D47
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f204a; /* rgb */ color: rgb(159, 32, 74); /* oklch */ color: oklch(46.8% 0.163 7.1);
Tailwind
colors: {
custom: {
50: '#c2697c',
500: '#9f204a',
950: '#000000',
},
}SCSS
$custom: #9f204a; $custom-light: #c2697c; $custom-dark: #000000;
JSON
{
"hex": "#9f204a",
"rgb": {
"r": 159,
"g": 32,
"b": 74
},
"hsl": {
"h": 340.157,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.46762,
"c": 0.16332,
"h": 7.1
},
"luminance": 0.08898
}Semantic roles & 50–950 ramp
primary
#9F204A
secondary
#59C29F
accent
#E9B13E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B