#9D2C72#9D2C72

#9D2C72 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.165 H 346.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9D2C72
RGBrgb(157, 44, 114)
HSLhsl(323, 56%, 39%)
HSVhsv(323, 72%, 62%)
CMYKcmyk(0%, 72%, 27.4%, 38.4%)
CIE-LABlab(38.17, 52.78, -14.17)
CIE-LCHlch(38.17, 54.65, 344.97°)
OKLaboklab(48.88% 0.1602 -0.0374)
OKLCHoklch(48.88% 0.165 346.8)
XYZxyz(17.8434, 10.1863, 16.9428)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C72 #2C9D57
analogous
#902C9D #9D2C72 #9D2C3A
triadic
#9D2C72 #729D2C #2C729D
tetradic
#9D2C72 #9D902C #2C9D57 #2C3A9D
square
#9D2C72 #9D902C #2C9D57 #2C3A9D
split-complementary
#9D2C72 #3A9D2C #2C9D90
monochromatic
#3D112D #6D1F4F #9D2C72 #C93D94 #D66DAE

Accessibility & contrast

On white

6.92
#9D2C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D2C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C72
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C72#FFFFFF#000000##FFFFFF
##9D2C721.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#A8294B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2c72;
/* rgb */ color: rgb(157, 44, 114);
/* oklch */ color: oklch(48.9% 0.165 346.8);
Tailwind
colors: {
  custom: {
    50: '#be6f9a',
    500: '#9d2c72',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c72;
$custom-light: #be6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c72",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 322.832,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.16452,
    "h": 346.8
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#9D2C72
secondary
#68BD88
accent
#E08248
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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