#9D2C8A#9D2C8A

#9D2C8A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.180 H 335.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9D2C8A
RGBrgb(157, 44, 138)
HSLhsl(310, 56%, 39%)
HSVhsv(310, 72%, 62%)
CMYKcmyk(0%, 72%, 12.1%, 38.4%)
CIE-LABlab(39.25, 56.20, -27.38)
CIE-LCHlch(39.25, 62.51, 334.03°)
OKLaboklab(50.01% 0.1643 -0.0747)
OKLCHoklch(50.01% 0.18 335.6)
XYZxyz(19.3930, 10.8061, 25.1043)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C8A #2C9D3F
analogous
#772C9D #9D2C8A #9D2C52
triadic
#9D2C8A #8A9D2C #2C8A9D
tetradic
#9D2C8A #9D772C #2C9D3F #2C529D
square
#9D2C8A #9D772C #2C9D3F #2C529D
split-complementary
#9D2C8A #529D2C #2C9D77
monochromatic
#3D1136 #6D1F60 #9D2C8A #C93DB1 #D66DC5

Accessibility & contrast

On white

6.64
#9D2C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9D2C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C8A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C8A#FFFFFF#000000##FFFFFF
##9D2C8A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#546287
Tritanopia (blue-blind)
#A53457
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2c8a;
/* rgb */ color: rgb(157, 44, 138);
/* oklch */ color: oklch(50.0% 0.180 335.6);
Tailwind
colors: {
  custom: {
    50: '#bd70ac',
    500: '#9d2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c8a;
$custom-light: #bd70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c8a",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 310.088,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.18045,
    "h": 335.6
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#9D2C8A
secondary
#68BD76
accent
#E06248
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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