#9F307A#9F307A
#9F307A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.166 H 343.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9F307A |
|---|---|
| RGB | rgb(159, 48, 122) |
| HSL | hsl(320, 54%, 41%) |
| HSV | hsv(320, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 23.3%, 37.6%) |
| CIE-LAB | lab(39.40, 52.89, -17.25) |
| CIE-LCH | lch(39.40, 55.64, 341.93°) |
| OKLab | oklab(49.95% 0.1593 -0.046) |
| OKLCH | oklch(49.95% 0.166 343.9) |
| XYZ | xyz(18.8685, 10.8919, 19.5172) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.24
Warm Purple
#952E8F
ΔE00 6.11
Light Eggplant
#894585
ΔE00 6.56
Magenta (survey)
#C20078
ΔE00 6.65
Bruise
#7E4071
ΔE00 7.05
Mediumvioletred
#C71585
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F307A #309F55
analogous
#8C309F #9F307A #9F3042
triadic
#9F307A #7A9F30 #307A9F
tetradic
#9F307A #9F8C30 #309F55 #30429F
square
#9F307A #9F8C30 #309F55 #30429F
split-complementary
#9F307A #429F30 #309F8C
monochromatic
#411432 #702256 #9F307A #C7459C #D574B5
Accessibility & contrast
On white
6.61
#9F307A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9F307A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F307A
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F307A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F307A | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#A93050
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f307a; /* rgb */ color: rgb(159, 48, 122); /* oklch */ color: oklch(49.9% 0.166 343.9);
Tailwind
colors: {
custom: {
50: '#bf71a0',
500: '#9f307a',
950: '#000000',
},
}SCSS
$custom: #9f307a; $custom-light: #bf71a0; $custom-dark: #000000;
JSON
{
"hex": "#9f307a",
"rgb": {
"r": 159,
"g": 48,
"b": 122
},
"hsl": {
"h": 320,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.49945,
"c": 0.16579,
"h": 343.9
},
"luminance": 0.1089
}Semantic roles & 50–950 ramp
primary
#9F307A
secondary
#6EBD88
accent
#DD7C4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E