#9F306F#9F306F
#9F306F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.159 H 349.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9F306F |
|---|---|
| RGB | rgb(159, 48, 111) |
| HSL | hsl(326, 54%, 41%) |
| HSV | hsv(326, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 30.2%, 37.6%) |
| CIE-LAB | lab(38.96, 51.44, -11.07) |
| CIE-LCH | lch(38.96, 52.61, 347.86°) |
| OKLab | oklab(49.48% 0.1567 -0.0289) |
| OKLCH | oklch(49.48% 0.159 349.5) |
| XYZ | xyz(18.2252, 10.6345, 16.1287) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.67
Deep Magenta
#A0025C
ΔE00 5.34
Dark Fuchsia
#9D0759
ΔE00 5.70
Magenta (survey)
#C20078
ΔE00 6.16
Dark Magenta
#960056
ΔE00 6.58
Violet Red
#A50055
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F306F #309F60
analogous
#97309F #9F306F #9F3037
triadic
#9F306F #6F9F30 #306F9F
tetradic
#9F306F #9F9730 #309F60 #30379F
square
#9F306F #9F9730 #309F60 #30379F
split-complementary
#9F306F #379F30 #309F97
monochromatic
#41142D #70224E #9F306F #C7458F #D574AB
Accessibility & contrast
On white
6.72
#9F306F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9F306F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F306F
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F306F | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#AB2B4B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f306f; /* rgb */ color: rgb(159, 48, 111); /* oklch */ color: oklch(49.5% 0.159 349.5);
Tailwind
colors: {
custom: {
50: '#bf7198',
500: '#9f306f',
950: '#000000',
},
}SCSS
$custom: #9f306f; $custom-light: #bf7198; $custom-dark: #000000;
JSON
{
"hex": "#9f306f",
"rgb": {
"r": 159,
"g": 48,
"b": 111
},
"hsl": {
"h": 325.946,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.49479,
"c": 0.1593,
"h": 349.5
},
"luminance": 0.10633
}Semantic roles & 50–950 ramp
primary
#9F306F
secondary
#6EBD90
accent
#DD8A4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E