#9F307D#9F307D
#9F307D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.168 H 342.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F307D |
|---|---|
| RGB | rgb(159, 48, 125) |
| HSL | hsl(318, 54%, 41%) |
| HSV | hsv(318, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 21.4%, 37.6%) |
| CIE-LAB | lab(39.53, 53.31, -18.92) |
| CIE-LCH | lch(39.53, 56.57, 340.46°) |
| OKLab | oklab(50.08% 0.1599 -0.0507) |
| OKLCH | oklch(50.08% 0.168 342.4) |
| XYZ | xyz(19.0573, 10.9674, 20.5113) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.45
Red Violet
#9E0168
ΔE00 5.61
Light Eggplant
#894585
ΔE00 6.19
Magenta (survey)
#C20078
ΔE00 6.94
Bruise
#7E4071
ΔE00 7.08
Mediumvioletred
#C71585
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F307D #309F52
analogous
#89309F #9F307D #9F3046
triadic
#9F307D #7D9F30 #307D9F
tetradic
#9F307D #9F8930 #309F52 #30469F
square
#9F307D #9F8930 #309F52 #30469F
split-complementary
#9F307D #469F30 #309F89
monochromatic
#411433 #702258 #9F307D #C7459F #D574B7
Accessibility & contrast
On white
6.58
#9F307D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#9F307D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F307D
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F307D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F307D | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#A93152
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f307d; /* rgb */ color: rgb(159, 48, 125); /* oklch */ color: oklch(50.1% 0.168 342.4);
Tailwind
colors: {
custom: {
50: '#bf72a2',
500: '#9f307d',
950: '#000000',
},
}SCSS
$custom: #9f307d; $custom-light: #bf72a2; $custom-dark: #000000;
JSON
{
"hex": "#9f307d",
"rgb": {
"r": 159,
"g": 48,
"b": 125
},
"hsl": {
"h": 318.378,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.5008,
"c": 0.16772,
"h": 342.4
},
"luminance": 0.10966
}Semantic roles & 50–950 ramp
primary
#9F307D
secondary
#6EBD86
accent
#DD784B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F