#9D2C79#9D2C79

#9D2C79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.169 H 343.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9D2C79
RGBrgb(157, 44, 121)
HSLhsl(319, 56%, 39%)
HSVhsv(319, 72%, 62%)
CMYKcmyk(0%, 72%, 22.9%, 38.4%)
CIE-LABlab(38.47, 53.72, -18.09)
CIE-LCHlch(38.47, 56.69, 341.39°)
OKLaboklab(49.19% 0.1617 -0.0484)
OKLCHoklch(49.19% 0.169 343.4)
XYZxyz(18.2571, 10.3518, 19.1221)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C79 #2C9D50
analogous
#892C9D #9D2C79 #9D2C41
triadic
#9D2C79 #799D2C #2C799D
tetradic
#9D2C79 #9D892C #2C9D50 #2C419D
square
#9D2C79 #9D892C #2C9D50 #2C419D
split-complementary
#9D2C79 #419D2C #2C9D89
monochromatic
#3D112F #6D1F54 #9D2C79 #C93D9C #D66DB5

Accessibility & contrast

On white

6.84
#9D2C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2C79
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C79#FFFFFF#000000##FFFFFF
##9D2C791.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#A72C4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2c79;
/* rgb */ color: rgb(157, 44, 121);
/* oklch */ color: oklch(49.2% 0.169 343.4);
Tailwind
colors: {
  custom: {
    50: '#be6fa0',
    500: '#9d2c79',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c79;
$custom-light: #be6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c79",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 319.115,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.16879,
    "h": 343.4
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#9D2C79
secondary
#68BD83
accent
#E07848
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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