#9D2C78#9D2C78

#9D2C78 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.168 H 343.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D2C78
RGBrgb(157, 44, 120)
HSLhsl(320, 56%, 39%)
HSVhsv(320, 72%, 62%)
CMYKcmyk(0%, 72%, 23.6%, 38.4%)
CIE-LABlab(38.42, 53.59, -17.54)
CIE-LCHlch(38.42, 56.38, 341.88°)
OKLaboklab(49.14% 0.1615 -0.0468)
OKLCHoklch(49.14% 0.168 343.8)
XYZxyz(18.1961, 10.3274, 18.8008)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C78 #2C9D51
analogous
#8A2C9D #9D2C78 #9D2C40
triadic
#9D2C78 #789D2C #2C789D
tetradic
#9D2C78 #9D8A2C #2C9D51 #2C409D
square
#9D2C78 #9D8A2C #2C9D51 #2C409D
split-complementary
#9D2C78 #409D2C #2C9D8A
monochromatic
#3D112F #6D1F53 #9D2C78 #C93D9B #D66DB4

Accessibility & contrast

On white

6.85
#9D2C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D2C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C78
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C78#FFFFFF#000000##FFFFFF
##9D2C781.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#5A6175
Tritanopia (blue-blind)
#A72C4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2c78;
/* rgb */ color: rgb(157, 44, 120);
/* oklch */ color: oklch(49.1% 0.168 343.8);
Tailwind
colors: {
  custom: {
    50: '#be6f9f',
    500: '#9d2c78',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c78;
$custom-light: #be6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c78",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 319.646,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.16815,
    "h": 343.8
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#9D2C78
secondary
#68BD84
accent
#E07A48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2C78

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

Preview Lab → · Contrast checker → · Palette generator →

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