#9F307B#9F307B
#9F307B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.166 H 343.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9F307B |
|---|---|
| RGB | rgb(159, 48, 123) |
| HSL | hsl(319, 54%, 41%) |
| HSV | hsv(319, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 22.6%, 37.6%) |
| CIE-LAB | lab(39.44, 53.03, -17.81) |
| CIE-LCH | lch(39.44, 55.94, 341.44°) |
| OKLab | oklab(49.99% 0.1595 -0.0476) |
| OKLCH | oklch(49.99% 0.166 343.4) |
| XYZ | xyz(18.9308, 10.9168, 19.8452) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.36
Warm Purple
#952E8F
ΔE00 5.89
Light Eggplant
#894585
ΔE00 6.43
Magenta (survey)
#C20078
ΔE00 6.74
Bruise
#7E4071
ΔE00 7.05
Mediumvioletred
#C71585
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F307B #309F54
analogous
#8B309F #9F307B #9F3044
triadic
#9F307B #7B9F30 #307B9F
tetradic
#9F307B #9F8B30 #309F54 #30449F
square
#9F307B #9F8B30 #309F54 #30449F
split-complementary
#9F307B #449F30 #309F8B
monochromatic
#411432 #702257 #9F307B #C7459D #D574B6
Accessibility & contrast
On white
6.60
#9F307B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9F307B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F307B
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F307B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F307B | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#5C6478
Tritanopia (blue-blind)
#A93051
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f307b; /* rgb */ color: rgb(159, 48, 123); /* oklch */ color: oklch(50.0% 0.166 343.4);
Tailwind
colors: {
custom: {
50: '#bf71a1',
500: '#9f307b',
950: '#000000',
},
}SCSS
$custom: #9f307b; $custom-light: #bf71a1; $custom-dark: #000000;
JSON
{
"hex": "#9f307b",
"rgb": {
"r": 159,
"g": 48,
"b": 123
},
"hsl": {
"h": 319.459,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.49989,
"c": 0.16642,
"h": 343.4
},
"luminance": 0.10915
}Semantic roles & 50–950 ramp
primary
#9F307B
secondary
#6EBD87
accent
#DD7A4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E