#9D3173#9D3173

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

Color values

HEX#9D3173
RGBrgb(157, 49, 115)
HSLhsl(323, 52%, 40%)
HSVhsv(323, 69%, 62%)
CMYKcmyk(0%, 68.8%, 26.8%, 38.4%)
CIE-LABlab(38.91, 50.99, -13.68)
CIE-LCHlch(38.91, 52.79, 344.98°)
OKLaboklab(49.43% 0.1545 -0.0361)
OKLCHoklch(49.43% 0.159 346.8)
XYZxyz(18.0982, 10.6044, 17.3101)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3173 #319D5B
analogous
#91319D #9D3173 #9D313D
triadic
#9D3173 #739D31 #31739D
tetradic
#9D3173 #9D9131 #319D5B #313D9D
square
#9D3173 #9D9131 #319D5B #313D9D
split-complementary
#9D3173 #3D9D31 #319D91
monochromatic
#40142F #6E2251 #9D3173 #C54694 #D475AF

Accessibility & contrast

On white

6.73
#9D3173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D3173
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3173#FFFFFF#000000##FFFFFF
##9D31731.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5075
Deuteranopia (green-blind)
#5E6270
Tritanopia (blue-blind)
#A82E4D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d3173;
/* rgb */ color: rgb(157, 49, 115);
/* oklch */ color: oklch(49.4% 0.159 346.8);
Tailwind
colors: {
  custom: {
    50: '#bd719b',
    500: '#9d3173',
    950: '#000000',
  },
}
SCSS
$custom: #9d3173;
$custom-light: #bd719b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3173",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 323.333,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.15865,
    "h": 346.8
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#9D3173
secondary
#6EBC8C
accent
#DC844C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D3173

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

Preview Lab → · Contrast checker → · Palette generator →

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