#9C337A#9C337A
#9C337A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.160 H 343.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9C337A |
|---|---|
| RGB | rgb(156, 51, 122) |
| HSL | hsl(319, 51%, 41%) |
| HSV | hsv(319, 67%, 61%) |
| CMYK | cmyk(0%, 67.3%, 21.8%, 38.8%) |
| CIE-LAB | lab(39.31, 50.86, -17.43) |
| CIE-LCH | lch(39.31, 53.76, 341.09°) |
| OKLab | oklab(49.79% 0.1526 -0.0466) |
| OKLCH | oklch(49.79% 0.16 343) |
| XYZ | xyz(18.4076, 10.8425, 19.5320) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.60
Warm Purple
#952E8F
ΔE00 5.92
Light Eggplant
#894585
ΔE00 5.97
Bruise
#7E4071
ΔE00 6.43
Magenta (survey)
#C20078
ΔE00 7.25
Deep Magenta
#A0025C
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C337A #339C55
analogous
#8A339C #9C337A #9C3345
triadic
#9C337A #7A9C33 #337A9C
tetradic
#9C337A #9C8A33 #339C55 #33459C
square
#9C337A #9C8A33 #339C55 #33459C
split-complementary
#9C337A #459C33 #339C8A
monochromatic
#401532 #6E2456 #9C337A #C3499C #D377B5
Accessibility & contrast
On white
6.63
#9C337A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#9C337A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C337A
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C337A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C337A | 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)
#3C527C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#A63352
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9c337a; /* rgb */ color: rgb(156, 51, 122); /* oklch */ color: oklch(49.8% 0.160 343.0);
Tailwind
colors: {
custom: {
50: '#bc73a0',
500: '#9c337a',
950: '#000000',
},
}SCSS
$custom: #9c337a; $custom-light: #bc73a0; $custom-dark: #000000;
JSON
{
"hex": "#9c337a",
"rgb": {
"r": 156,
"g": 51,
"b": 122
},
"hsl": {
"h": 319.429,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.49785,
"c": 0.15953,
"h": 343
},
"luminance": 0.10841
}Semantic roles & 50–950 ramp
primary
#9C337A
secondary
#70BB88
accent
#DA7B4E
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E