#9F306C#9F306C
#9F306C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.158 H 351.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F306C |
|---|---|
| RGB | rgb(159, 48, 108) |
| HSL | hsl(328, 54%, 41%) |
| HSV | hsv(328, 70%, 62%) |
| CMYK | cmyk(0%, 69.8%, 32.1%, 37.6%) |
| CIE-LAB | lab(38.85, 51.06, -9.36) |
| CIE-LCH | lch(38.85, 51.91, 349.62°) |
| OKLab | oklab(49.36% 0.1558 -0.0242) |
| OKLCH | oklch(49.36% 0.158 351.2) |
| XYZ | xyz(18.0627, 10.5696, 15.2733) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.79
Deep Magenta
#A0025C
ΔE00 4.96
Dark Fuchsia
#9D0759
ΔE00 5.26
Magenta (survey)
#C20078
ΔE00 6.22
Violet Red
#A50055
ΔE00 6.23
Dark Magenta
#960056
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F306C #309F63
analogous
#9A309F #9F306C #9F3034
triadic
#9F306C #6C9F30 #306C9F
tetradic
#9F306C #9F9A30 #309F63 #30349F
square
#9F306C #9F9A30 #309F63 #30349F
split-complementary
#9F306C #349F30 #309F9A
monochromatic
#41142C #70224C #9F306C #C7458B #D574A9
Accessibility & contrast
On white
6.74
#9F306C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9F306C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F306C
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F306C | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#616369
Tritanopia (blue-blind)
#AB294A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f306c; /* rgb */ color: rgb(159, 48, 108); /* oklch */ color: oklch(49.4% 0.158 351.2);
Tailwind
colors: {
custom: {
50: '#bf7196',
500: '#9f306c',
950: '#000000',
},
}SCSS
$custom: #9f306c; $custom-light: #bf7196; $custom-dark: #000000;
JSON
{
"hex": "#9f306c",
"rgb": {
"r": 159,
"g": 48,
"b": 108
},
"hsl": {
"h": 327.568,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.4936,
"c": 0.15771,
"h": 351.2
},
"luminance": 0.10568
}Semantic roles & 50–950 ramp
primary
#9F306C
secondary
#6EBD92
accent
#DD8E4B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E