#9F336D#9F336D
#9F336D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.154 H 351.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F336D |
|---|---|
| RGB | rgb(159, 51, 109) |
| HSL | hsl(328, 51%, 41%) |
| HSV | hsv(328, 68%, 62%) |
| CMYK | cmyk(0%, 67.9%, 31.4%, 37.6%) |
| CIE-LAB | lab(39.32, 49.98, -9.27) |
| CIE-LCH | lch(39.32, 50.83, 349.49°) |
| OKLab | oklab(49.72% 0.1524 -0.024) |
| OKLCH | oklch(49.72% 0.154 351) |
| XYZ | xyz(18.2431, 10.8447, 15.5975) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.30
Deep Magenta
#A0025C
ΔE00 5.44
Dark Fuchsia
#9D0759
ΔE00 5.73
Magenta (survey)
#C20078
ΔE00 6.30
Violet Red
#A50055
ΔE00 6.60
Dark Magenta
#960056
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F336D #339F65
analogous
#9B339F #9F336D #9F3337
triadic
#9F336D #6D9F33 #336D9F
tetradic
#9F336D #9F9B33 #339F65 #33379F
square
#9F336D #9F9B33 #339F65 #33379F
split-complementary
#9F336D #379F33 #339F9B
monochromatic
#42152D #71244D #9F336D #C54A8C #D479AA
Accessibility & contrast
On white
6.63
#9F336D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#9F336D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F336D
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F336D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F336D | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43506F
Deuteranopia (green-blind)
#62646A
Tritanopia (blue-blind)
#AB2D4B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f336d; /* rgb */ color: rgb(159, 51, 109); /* oklch */ color: oklch(49.7% 0.154 351.0);
Tailwind
colors: {
custom: {
50: '#bf7396',
500: '#9f336d',
950: '#000000',
},
}SCSS
$custom: #9f336d; $custom-light: #bf7396; $custom-dark: #000000;
JSON
{
"hex": "#9f336d",
"rgb": {
"r": 159,
"g": 51,
"b": 109
},
"hsl": {
"h": 327.778,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.49719,
"c": 0.15424,
"h": 351
},
"luminance": 0.10843
}Semantic roles & 50–950 ramp
primary
#9F336D
secondary
#71BC94
accent
#DB8F4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E