#9F336C#9F336C
#9F336C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.154 H 351.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F336C |
|---|---|
| RGB | rgb(159, 51, 108) |
| HSL | hsl(328, 51%, 41%) |
| HSV | hsv(328, 68%, 62%) |
| CMYK | cmyk(0%, 67.9%, 32.1%, 37.6%) |
| CIE-LAB | lab(39.28, 49.86, -8.70) |
| CIE-LCH | lch(39.28, 50.61, 350.10°) |
| OKLab | oklab(49.68% 0.1521 -0.0225) |
| OKLCH | oklch(49.68% 0.154 351.6) |
| XYZ | xyz(18.1896, 10.8233, 15.3156) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 5.35
Red Violet
#9E0168
ΔE00 5.36
Dark Fuchsia
#9D0759
ΔE00 5.61
Magenta (survey)
#C20078
ΔE00 6.34
Violet Red
#A50055
ΔE00 6.42
Dark Magenta
#960056
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F336C #339F66
analogous
#9C339F #9F336C #9F3336
triadic
#9F336C #6C9F33 #336C9F
tetradic
#9F336C #9F9C33 #339F66 #33369F
square
#9F336C #9F9C33 #339F66 #33369F
split-complementary
#9F336C #369F33 #339F9C
monochromatic
#42152D #71244D #9F336C #C54A8B #D479A9
Accessibility & contrast
On white
6.64
#9F336C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9F336C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F336C
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F336C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F336C | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43506E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#AB2D4B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f336c; /* rgb */ color: rgb(159, 51, 108); /* oklch */ color: oklch(49.7% 0.154 351.6);
Tailwind
colors: {
custom: {
50: '#bf7296',
500: '#9f336c',
950: '#000000',
},
}SCSS
$custom: #9f336c; $custom-light: #bf7296; $custom-dark: #000000;
JSON
{
"hex": "#9f336c",
"rgb": {
"r": 159,
"g": 51,
"b": 108
},
"hsl": {
"h": 328.333,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.4968,
"c": 0.15372,
"h": 351.6
},
"luminance": 0.10821
}Semantic roles & 50–950 ramp
primary
#9F336C
secondary
#71BC95
accent
#DB904D
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E