#9F306D#9F306D
#9F306D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.158 H 350.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F306D |
|---|---|
| RGB | rgb(159, 48, 109) |
| HSL | hsl(327, 54%, 41%) |
| HSV | hsv(327, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 31.4%, 37.6%) |
| CIE-LAB | lab(38.88, 51.18, -9.93) |
| CIE-LCH | lch(38.88, 52.14, 349.02°) |
| OKLab | oklab(49.4% 0.1561 -0.0258) |
| OKLCH | oklch(49.4% 0.158 350.6) |
| XYZ | xyz(18.1163, 10.5910, 15.5552) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.74
Deep Magenta
#A0025C
ΔE00 5.08
Dark Fuchsia
#9D0759
ΔE00 5.40
Magenta (survey)
#C20078
ΔE00 6.18
Dark Magenta
#960056
ΔE00 6.35
Violet Red
#A50055
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F306D #309F62
analogous
#99309F #9F306D #9F3035
triadic
#9F306D #6D9F30 #306D9F
tetradic
#9F306D #9F9930 #309F62 #30359F
square
#9F306D #9F9930 #309F62 #30359F
split-complementary
#9F306D #359F30 #309F99
monochromatic
#41142D #70224D #9F306D #C7458D #D574A9
Accessibility & contrast
On white
6.74
#9F306D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9F306D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F306D
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F306D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F306D | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414F6F
Deuteranopia (green-blind)
#60636A
Tritanopia (blue-blind)
#AB2A4A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f306d; /* rgb */ color: rgb(159, 48, 109); /* oklch */ color: oklch(49.4% 0.158 350.6);
Tailwind
colors: {
custom: {
50: '#bf7196',
500: '#9f306d',
950: '#000000',
},
}SCSS
$custom: #9f306d; $custom-light: #bf7196; $custom-dark: #000000;
JSON
{
"hex": "#9f306d",
"rgb": {
"r": 159,
"g": 48,
"b": 109
},
"hsl": {
"h": 327.027,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.49399,
"c": 0.15823,
"h": 350.6
},
"luminance": 0.10589
}Semantic roles & 50–950 ramp
primary
#9F306D
secondary
#6EBD91
accent
#DD8D4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E