#9D336C#9D336C

#9D336C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.152 H 350.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9D336C
RGBrgb(157, 51, 108)
HSLhsl(328, 51%, 41%)
HSVhsv(328, 68%, 62%)
CMYKcmyk(0%, 67.5%, 31.2%, 38.4%)
CIE-LABlab(38.93, 49.26, -9.26)
CIE-LCHlch(38.93, 50.12, 349.36°)
OKLaboklab(49.36% 0.1501 -0.024)
OKLCHoklch(49.36% 0.152 350.9)
XYZxyz(17.7961, 10.6204, 15.2972)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D336C #339D64
analogous
#99339D #9D336C #9D3337
triadic
#9D336C #6C9D33 #336C9D
tetradic
#9D336C #9D9933 #339D64 #33379D
square
#9D336C #9D9933 #339D64 #33379D
split-complementary
#9D336C #379D33 #339D99
monochromatic
#41152C #6F244C #9D336C #C4498B #D377A9

Accessibility & contrast

On white

6.72
#9D336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D336C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D336C#FFFFFF#000000##FFFFFF
##9D336C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506E
Deuteranopia (green-blind)
#60636A
Tritanopia (blue-blind)
#A82D4B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d336c;
/* rgb */ color: rgb(157, 51, 108);
/* oklch */ color: oklch(49.4% 0.152 350.9);
Tailwind
colors: {
  custom: {
    50: '#be7296',
    500: '#9d336c',
    950: '#000000',
  },
}
SCSS
$custom: #9d336c;
$custom-light: #be7296;
$custom-dark: #000000;
JSON
{
  "hex": "#9d336c",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 327.736,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.152,
    "h": 350.9
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#9D336C
secondary
#70BB93
accent
#DA8F4D
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D336C

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

Preview Lab → · Contrast checker → · Palette generator →

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