#9C336D#9C336D
#9C336D is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.152 H 350.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9C336D |
|---|---|
| RGB | rgb(156, 51, 109) |
| HSL | hsl(327, 51%, 41%) |
| HSV | hsv(327, 67%, 61%) |
| CMYK | cmyk(0%, 67.3%, 30.1%, 38.8%) |
| CIE-LAB | lab(38.80, 49.09, -10.11) |
| CIE-LCH | lch(38.80, 50.12, 348.37°) |
| OKLab | oklab(49.24% 0.1494 -0.0263) |
| OKLCH | oklch(49.24% 0.152 350) |
| XYZ | xyz(17.6553, 10.5416, 15.5700) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.07
Deep Magenta
#A0025C
ΔE00 5.48
Dark Fuchsia
#9D0759
ΔE00 5.74
Dark Magenta
#960056
ΔE00 6.58
Magenta (survey)
#C20078
ΔE00 6.78
Violet Red
#A50055
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C336D #339C62
analogous
#96339C #9C336D #9C3338
triadic
#9C336D #6D9C33 #336D9C
tetradic
#9C336D #9C9633 #339C62 #33389C
square
#9C336D #9C9633 #339C62 #33389C
split-complementary
#9C336D #389C33 #339C96
monochromatic
#40152D #6E244D #9C336D #C3498D #D377A9
Accessibility & contrast
On white
6.76
#9C336D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9C336D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C336D
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C336D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C336D | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#60626B
Tritanopia (blue-blind)
#A72E4B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c336d; /* rgb */ color: rgb(156, 51, 109); /* oklch */ color: oklch(49.2% 0.152 350.0);
Tailwind
colors: {
custom: {
50: '#bd7296',
500: '#9c336d',
950: '#000000',
},
}SCSS
$custom: #9c336d; $custom-light: #bd7296; $custom-dark: #000000;
JSON
{
"hex": "#9c336d",
"rgb": {
"r": 156,
"g": 51,
"b": 109
},
"hsl": {
"h": 326.857,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.49236,
"c": 0.15169,
"h": 350
},
"luminance": 0.1054
}Semantic roles & 50–950 ramp
primary
#9C336D
secondary
#70BB91
accent
#DA8D4E
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080D
muted
#817B7E