#9D3872#9D3872

#9D3872 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.148 H 348.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D3872
RGBrgb(157, 56, 114)
HSLhsl(326, 47%, 42%)
HSVhsv(326, 64%, 62%)
CMYKcmyk(0%, 64.3%, 27.4%, 38.4%)
CIE-LABlab(39.94, 47.91, -11.49)
CIE-LCHlch(39.94, 49.27, 346.51°)
OKLaboklab(50.17% 0.1451 -0.0302)
OKLCHoklch(50.17% 0.148 348.3)
XYZxyz(18.3568, 11.2132, 17.1139)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3872 #389D63
analogous
#96389D #9D3872 #9D383F
triadic
#9D3872 #729D38 #38729D
tetradic
#9D3872 #9D9638 #389D63 #383F9D
square
#9D3872 #9D9638 #389D63 #383F9D
split-complementary
#9D3872 #3F9D38 #389D96
monochromatic
#431830 #702851 #9D3872 #C15191 #D17EAE

Accessibility & contrast

On white

6.48
#9D3872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D3872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3872
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3872#FFFFFF#000000##FFFFFF
##9D38721.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445374
Deuteranopia (green-blind)
#616570
Tritanopia (blue-blind)
#A83550
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d3872;
/* rgb */ color: rgb(157, 56, 114);
/* oklch */ color: oklch(50.2% 0.148 348.3);
Tailwind
colors: {
  custom: {
    50: '#bd759a',
    500: '#9d3872',
    950: '#000000',
  },
}
SCSS
$custom: #9d3872;
$custom-light: #bd759a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3872",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 325.545,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.14823,
    "h": 348.3
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#9D3872
secondary
#76BA93
accent
#D78A51
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9D3872

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

Preview Lab → · Contrast checker → · Palette generator →

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