#9C336C#9C336C
#9C336C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.151 H 350.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9C336C |
|---|---|
| RGB | rgb(156, 51, 108) |
| HSL | hsl(327, 51%, 41%) |
| HSV | hsv(327, 67%, 61%) |
| CMYK | cmyk(0%, 67.3%, 30.8%, 38.8%) |
| CIE-LAB | lab(38.76, 48.96, -9.54) |
| CIE-LCH | lch(38.76, 49.88, 348.98°) |
| OKLab | oklab(49.2% 0.1491 -0.0248) |
| OKLCH | oklch(49.2% 0.151 350.6) |
| XYZ | xyz(17.6018, 10.5202, 15.2881) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.12
Deep Magenta
#A0025C
ΔE00 5.37
Dark Fuchsia
#9D0759
ΔE00 5.61
Dark Magenta
#960056
ΔE00 6.48
Violet Red
#A50055
ΔE00 6.65
Magenta (survey)
#C20078
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C336C #339C63
analogous
#98339C #9C336C #9C3337
triadic
#9C336C #6C9C33 #336C9C
tetradic
#9C336C #9C9833 #339C63 #33379C
square
#9C336C #9C9833 #339C63 #33379C
split-complementary
#9C336C #379C33 #339C98
monochromatic
#40152C #6E244C #9C336C #C3498B #D377A9
Accessibility & contrast
On white
6.77
#9C336C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9C336C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C336C
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C336C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C336C | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424F6E
Deuteranopia (green-blind)
#60626A
Tritanopia (blue-blind)
#A72E4B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c336c; /* rgb */ color: rgb(156, 51, 108); /* oklch */ color: oklch(49.2% 0.151 350.6);
Tailwind
colors: {
custom: {
50: '#bd7296',
500: '#9c336c',
950: '#000000',
},
}SCSS
$custom: #9c336c; $custom-light: #bd7296; $custom-dark: #000000;
JSON
{
"hex": "#9c336c",
"rgb": {
"r": 156,
"g": 51,
"b": 108
},
"hsl": {
"h": 327.429,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.49197,
"c": 0.15115,
"h": 350.6
},
"luminance": 0.10518
}Semantic roles & 50–950 ramp
primary
#9C336C
secondary
#70BB92
accent
#DA8E4E
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#12080D
muted
#817B7E