#9D2C75#9D2C75

#9D2C75 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.166 H 345.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9D2C75
RGBrgb(157, 44, 117)
HSLhsl(321, 56%, 39%)
HSVhsv(321, 72%, 62%)
CMYKcmyk(0%, 72%, 25.5%, 38.4%)
CIE-LABlab(38.30, 53.18, -15.86)
CIE-LCHlch(38.30, 55.49, 343.40°)
OKLaboklab(49.01% 0.1609 -0.0421)
OKLCHoklch(49.01% 0.166 345.3)
XYZxyz(18.0169, 10.2557, 17.8569)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C75 #2C9D54
analogous
#8D2C9D #9D2C75 #9D2C3D
triadic
#9D2C75 #759D2C #2C759D
tetradic
#9D2C75 #9D8D2C #2C9D54 #2C3D9D
square
#9D2C75 #9D8D2C #2C9D54 #2C3D9D
split-complementary
#9D2C75 #3D9D2C #2C9D8D
monochromatic
#3D112E #6D1F51 #9D2C75 #C93D97 #D66DB1

Accessibility & contrast

On white

6.88
#9D2C75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D2C75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C75
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C75#FFFFFF#000000##FFFFFF
##9D2C751.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E77
Deuteranopia (green-blind)
#5B6172
Tritanopia (blue-blind)
#A82A4C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2c75;
/* rgb */ color: rgb(157, 44, 117);
/* oklch */ color: oklch(49.0% 0.166 345.3);
Tailwind
colors: {
  custom: {
    50: '#be6f9d',
    500: '#9d2c75',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c75;
$custom-light: #be6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c75",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 321.239,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.1663,
    "h": 345.3
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#9D2C75
secondary
#68BD86
accent
#E07E48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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