#9D2C76#9D2C76

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

Color values

HEX#9D2C76
RGBrgb(157, 44, 118)
HSLhsl(321, 56%, 39%)
HSVhsv(321, 72%, 62%)
CMYKcmyk(0%, 72%, 24.8%, 38.4%)
CIE-LABlab(38.34, 53.31, -16.42)
CIE-LCHlch(38.34, 55.79, 342.88°)
OKLaboklab(49.05% 0.1611 -0.0437)
OKLCHoklch(49.05% 0.167 344.8)
XYZxyz(18.0760, 10.2794, 18.1682)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C76 #2C9D53
analogous
#8C2C9D #9D2C76 #9D2C3E
triadic
#9D2C76 #769D2C #2C769D
tetradic
#9D2C76 #9D8C2C #2C9D53 #2C3E9D
square
#9D2C76 #9D8C2C #2C9D53 #2C3E9D
split-complementary
#9D2C76 #3E9D2C #2C9D8C
monochromatic
#3D112E #6D1F52 #9D2C76 #C93D99 #D66DB2

Accessibility & contrast

On white

6.87
#9D2C76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D2C76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C76
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C76#FFFFFF#000000##FFFFFF
##9D2C761.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#A82B4D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2c76;
/* rgb */ color: rgb(157, 44, 118);
/* oklch */ color: oklch(49.1% 0.167 344.8);
Tailwind
colors: {
  custom: {
    50: '#be6f9d',
    500: '#9d2c76',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c76;
$custom-light: #be6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c76",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 320.708,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.16692,
    "h": 344.8
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#9D2C76
secondary
#68BD85
accent
#E07C48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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