#9F307F#9F307F
#9F307F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.169 H 341.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9F307F |
|---|---|
| RGB | rgb(159, 48, 127) |
| HSL | hsl(317, 54%, 41%) |
| HSV | hsv(317, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 20.1%, 37.6%) |
| CIE-LAB | lab(39.61, 53.60, -20.02) |
| CIE-LCH | lch(39.61, 57.21, 339.52°) |
| OKLab | oklab(50.17% 0.1603 -0.0538) |
| OKLCH | oklch(50.17% 0.169 341.5) |
| XYZ | xyz(19.1864, 11.0190, 21.1910) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.02
Red Violet
#9E0168
ΔE00 5.89
Light Eggplant
#894585
ΔE00 5.99
Ugly Purple
#A442A0
ΔE00 6.99
Barney Purple
#A00498
ΔE00 7.07
Bruise
#7E4071
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F307F #309F50
analogous
#87309F #9F307F #9F3048
triadic
#9F307F #7F9F30 #307F9F
tetradic
#9F307F #9F8730 #309F50 #30489F
square
#9F307F #9F8730 #309F50 #30489F
split-complementary
#9F307F #489F30 #309F87
monochromatic
#411434 #702259 #9F307F #C745A2 #D574B9
Accessibility & contrast
On white
6.56
#9F307F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#9F307F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F307F
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F307F | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#A93253
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f307f; /* rgb */ color: rgb(159, 48, 127); /* oklch */ color: oklch(50.2% 0.169 341.5);
Tailwind
colors: {
custom: {
50: '#bf72a4',
500: '#9f307f',
950: '#000000',
},
}SCSS
$custom: #9f307f; $custom-light: #bf72a4; $custom-dark: #000000;
JSON
{
"hex": "#9f307f",
"rgb": {
"r": 159,
"g": 48,
"b": 127
},
"hsl": {
"h": 317.297,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.50172,
"c": 0.16904,
"h": 341.5
},
"luminance": 0.11017
}Semantic roles & 50–950 ramp
primary
#9F307F
secondary
#6EBD85
accent
#DD754B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F