#9D2C71#9D2C71

#9D2C71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.164 H 347.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D2C71
RGBrgb(157, 44, 113)
HSLhsl(323, 56%, 39%)
HSVhsv(323, 72%, 62%)
CMYKcmyk(0%, 72%, 28%, 38.4%)
CIE-LABlab(38.13, 52.66, -13.60)
CIE-LCHlch(38.13, 54.38, 345.51°)
OKLaboklab(48.83% 0.16 -0.0359)
OKLCHoklch(48.83% 0.164 347.4)
XYZxyz(17.7868, 10.1636, 16.6447)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C71 #2C9D58
analogous
#912C9D #9D2C71 #9D2C38
triadic
#9D2C71 #719D2C #2C719D
tetradic
#9D2C71 #9D912C #2C9D58 #2C389D
square
#9D2C71 #9D912C #2C9D58 #2C389D
split-complementary
#9D2C71 #389D2C #2C9D91
monochromatic
#3D112C #6D1F4F #9D2C71 #C93D93 #D66DAD

Accessibility & contrast

On white

6.93
#9D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D2C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C71
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C71#FFFFFF#000000##FFFFFF
##9D2C711.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5C616E
Tritanopia (blue-blind)
#A8284A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2c71;
/* rgb */ color: rgb(157, 44, 113);
/* oklch */ color: oklch(48.8% 0.164 347.4);
Tailwind
colors: {
  custom: {
    50: '#be6f9a',
    500: '#9d2c71',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c71;
$custom-light: #be6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c71",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 323.363,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.16394,
    "h": 347.4
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#9D2C71
secondary
#68BD89
accent
#E08348
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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