#9D337C#9D337C

#9D337C is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.162 H 342.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9D337C
RGBrgb(157, 51, 124)
HSLhsl(319, 51%, 41%)
HSVhsv(319, 68%, 62%)
CMYKcmyk(0%, 67.5%, 21%, 38.4%)
CIE-LABlab(39.57, 51.43, -18.26)
CIE-LCHlch(39.57, 54.57, 340.45°)
OKLaboklab(50.03% 0.154 -0.0489)
OKLCHoklch(50.03% 0.162 342.4)
XYZxyz(18.7271, 10.9928, 20.2004)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D337C #339D54
analogous
#89339D #9D337C #9D3347
triadic
#9D337C #7C9D33 #337C9D
tetradic
#9D337C #9D8933 #339D54 #33479D
square
#9D337C #9D8933 #339D54 #33479D
split-complementary
#9D337C #479D33 #339D89
monochromatic
#411533 #6F2458 #9D337C #C4499E #D377B6

Accessibility & contrast

On white

6.57
#9D337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D337C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D337C#FFFFFF#000000##FFFFFF
##9D337C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#5C6479
Tritanopia (blue-blind)
#A73453
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d337c;
/* rgb */ color: rgb(157, 51, 124);
/* oklch */ color: oklch(50.0% 0.162 342.4);
Tailwind
colors: {
  custom: {
    50: '#bd73a2',
    500: '#9d337c',
    950: '#000000',
  },
}
SCSS
$custom: #9d337c;
$custom-light: #bd73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d337c",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 318.679,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50031,
    "c": 0.16159,
    "h": 342.4
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#9D337C
secondary
#70BB88
accent
#DA794D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9D337C

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

Preview Lab → · Contrast checker → · Palette generator →

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