#9C348A#9C348A

#9C348A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 335.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9C348A
RGBrgb(156, 52, 138)
HSLhsl(310, 50%, 41%)
HSVhsv(310, 67%, 61%)
CMYKcmyk(0%, 66.7%, 11.5%, 38.8%)
CIE-LABlab(40.18, 52.87, -25.94)
CIE-LCHlch(40.18, 58.89, 333.87°)
OKLaboklab(50.65% 0.1541 -0.0706)
OKLCHoklch(50.65% 0.17 335.4)
XYZxyz(19.5259, 11.3605, 25.2042)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C348A #349C46
analogous
#7A349C #9C348A #9C3456
triadic
#9C348A #8A9C34 #348A9C
tetradic
#9C348A #9C7A34 #349C46 #34569C
square
#9C348A #9C7A34 #349C46 #34569C
split-complementary
#9C348A #569C34 #349C7A
monochromatic
#401539 #6E2561 #9C348A #C34AAE #D278C3

Accessibility & contrast

On white

6.42
#9C348A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9C348A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C348A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C348A#FFFFFF#000000##FFFFFF
##9C348A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#A43B5A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c348a;
/* rgb */ color: rgb(156, 52, 138);
/* oklch */ color: oklch(50.7% 0.170 335.4);
Tailwind
colors: {
  custom: {
    50: '#bc74ac',
    500: '#9c348a',
    950: '#000000',
  },
}
SCSS
$custom: #9c348a;
$custom-light: #bc74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c348a",
  "rgb": {
    "r": 156,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 310.385,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.16955,
    "h": 335.4
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#9C348A
secondary
#71BB7E
accent
#DA664E
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C348A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9C348A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva