#9C336B#9C336B
#9C336B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.151 H 351.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9C336B |
|---|---|
| RGB | rgb(156, 51, 107) |
| HSL | hsl(328, 51%, 41%) |
| HSV | hsv(328, 67%, 61%) |
| CMYK | cmyk(0%, 67.3%, 31.4%, 38.8%) |
| CIE-LAB | lab(38.72, 48.84, -8.96) |
| CIE-LCH | lch(38.72, 49.65, 349.60°) |
| OKLab | oklab(49.16% 0.1488 -0.0232) |
| OKLCH | oklch(49.16% 0.151 351.1) |
| XYZ | xyz(17.5488, 10.4990, 15.0094) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.18
Deep Magenta
#A0025C
ΔE00 5.26
Dark Fuchsia
#9D0759
ΔE00 5.48
Dark Magenta
#960056
ΔE00 6.38
Violet Red
#A50055
ΔE00 6.47
Magenta (survey)
#C20078
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C336B #339C64
analogous
#98339C #9C336B #9C3336
triadic
#9C336B #6B9C33 #336B9C
tetradic
#9C336B #9C9833 #339C64 #33369C
square
#9C336B #9C9833 #339C64 #33369C
split-complementary
#9C336B #369C33 #339C98
monochromatic
#40152C #6E244B #9C336B #C3498A #D377A8
Accessibility & contrast
On white
6.78
#9C336B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9C336B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C336B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C336B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C336B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434F6D
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#A72D4A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c336b; /* rgb */ color: rgb(156, 51, 107); /* oklch */ color: oklch(49.2% 0.151 351.1);
Tailwind
colors: {
custom: {
50: '#bd7295',
500: '#9c336b',
950: '#000000',
},
}SCSS
$custom: #9c336b; $custom-light: #bd7295; $custom-dark: #000000;
JSON
{
"hex": "#9c336b",
"rgb": {
"r": 156,
"g": 51,
"b": 107
},
"hsl": {
"h": 328,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.49158,
"c": 0.15061,
"h": 351.1
},
"luminance": 0.10497
}Semantic roles & 50–950 ramp
primary
#9C336B
secondary
#70BB93
accent
#DA8F4E
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#12080D
muted
#817B7E