#9F306A#9F306A
#9F306A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.157 H 352.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9F306A |
|---|---|
| RGB | rgb(159, 48, 106) |
| HSL | hsl(329, 54%, 41%) |
| HSV | hsv(329, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 33.3%, 37.6%) |
| CIE-LAB | lab(38.77, 50.82, -8.21) |
| CIE-LCH | lch(38.77, 51.47, 350.82°) |
| OKLab | oklab(49.28% 0.1553 -0.0211) |
| OKLCH | oklch(49.28% 0.157 352.2) |
| XYZ | xyz(17.9575, 10.5275, 14.7192) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 4.76
Red Violet
#9E0168
ΔE00 4.95
Dark Fuchsia
#9D0759
ΔE00 5.01
Violet Red
#A50055
ΔE00 5.85
Dark Magenta
#960056
ΔE00 6.05
Magenta (survey)
#C20078
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F306A #309F65
analogous
#9C309F #9F306A #9F3032
triadic
#9F306A #6A9F30 #306A9F
tetradic
#9F306A #9F9C30 #309F65 #30329F
square
#9F306A #9F9C30 #309F65 #30329F
split-complementary
#9F306A #329F30 #309F9C
monochromatic
#41142B #70224B #9F306A #C74589 #D574A7
Accessibility & contrast
On white
6.76
#9F306A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9F306A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F306A
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F306A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F306A | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424F6C
Deuteranopia (green-blind)
#616367
Tritanopia (blue-blind)
#AB2849
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f306a; /* rgb */ color: rgb(159, 48, 106); /* oklch */ color: oklch(49.3% 0.157 352.2);
Tailwind
colors: {
custom: {
50: '#bf7194',
500: '#9f306a',
950: '#000000',
},
}SCSS
$custom: #9f306a; $custom-light: #bf7194; $custom-dark: #000000;
JSON
{
"hex": "#9f306a",
"rgb": {
"r": 159,
"g": 48,
"b": 106
},
"hsl": {
"h": 328.649,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.49282,
"c": 0.15669,
"h": 352.2
},
"luminance": 0.10525
}Semantic roles & 50–950 ramp
primary
#9F306A
secondary
#6EBD94
accent
#DD914B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E