#9D336A#9D336A

#9D336A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.3% C 0.151 H 352.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D336A
RGBrgb(157, 51, 106)
HSLhsl(329, 51%, 41%)
HSVhsv(329, 68%, 62%)
CMYKcmyk(0%, 67.5%, 32.5%, 38.4%)
CIE-LABlab(38.86, 49.01, -8.11)
CIE-LCHlch(38.86, 49.68, 350.60°)
OKLaboklab(49.28% 0.1495 -0.0209)
OKLCHoklch(49.28% 0.151 352)
XYZxyz(17.6909, 10.5783, 14.7430)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D336A #339D66
analogous
#9B339D #9D336A #9D3335
triadic
#9D336A #6A9D33 #336A9D
tetradic
#9D336A #9D9B33 #339D66 #33359D
square
#9D336A #9D9B33 #339D66 #33359D
split-complementary
#9D336A #359D33 #339D9B
monochromatic
#41152C #6F244B #9D336A #C44989 #D377A7

Accessibility & contrast

On white

6.74
#9D336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D336A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D336A#FFFFFF#000000##FFFFFF
##9D336A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6C
Deuteranopia (green-blind)
#616368
Tritanopia (blue-blind)
#A92C4A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d336a;
/* rgb */ color: rgb(157, 51, 106);
/* oklch */ color: oklch(49.3% 0.151 352.0);
Tailwind
colors: {
  custom: {
    50: '#be7294',
    500: '#9d336a',
    950: '#000000',
  },
}
SCSS
$custom: #9d336a;
$custom-light: #be7294;
$custom-dark: #000000;
JSON
{
  "hex": "#9d336a",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 328.868,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.15097,
    "h": 352
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#9D336A
secondary
#70BB94
accent
#DA914D
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D336A

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

Preview Lab → · Contrast checker → · Palette generator →

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