#9C2D7F#9C2D7F

#9C2D7F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.171 H 340.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9C2D7F
RGBrgb(156, 45, 127)
HSLhsl(316, 55%, 39%)
HSVhsv(316, 71%, 61%)
CMYKcmyk(0%, 71.2%, 18.6%, 38.8%)
CIE-LABlab(38.69, 53.94, -21.49)
CIE-LCHlch(38.69, 58.06, 338.28°)
OKLaboklab(49.4% 0.1607 -0.0579)
OKLCHoklch(49.4% 0.171 340.2)
XYZxyz(18.4799, 10.4788, 21.1239)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D7F #2D9C4A
analogous
#822D9C #9C2D7F #9C2D47
triadic
#9C2D7F #7F9C2D #2D7F9C
tetradic
#9C2D7F #9C822D #2D9C4A #2D479C
square
#9C2D7F #9C822D #2D9C4A #2D479C
split-complementary
#9C2D7F #479C2D #2D9C82
monochromatic
#3D1232 #6D1F58 #9C2D7F #C83FA4 #D56EBA

Accessibility & contrast

On white

6.78
#9C2D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C2D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D7F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D7F#FFFFFF#000000##FFFFFF
##9C2D7F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#A53052
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2d7f;
/* rgb */ color: rgb(156, 45, 127);
/* oklch */ color: oklch(49.4% 0.171 340.2);
Tailwind
colors: {
  custom: {
    50: '#bd70a4',
    500: '#9c2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d7f;
$custom-light: #bd70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d7f",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 315.676,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.494,
    "c": 0.17081,
    "h": 340.2
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#9C2D7F
secondary
#68BC7E
accent
#DF7049
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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