#9C2B7D#9C2B7D

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

Color values

HEX#9C2B7D
RGBrgb(156, 43, 125)
HSLhsl(316, 57%, 39%)
HSVhsv(316, 72%, 61%)
CMYKcmyk(0%, 72.4%, 19.9%, 38.8%)
CIE-LABlab(38.34, 54.38, -20.79)
CIE-LCHlch(38.34, 58.22, 339.07°)
OKLaboklab(49.11% 0.1626 -0.056)
OKLCHoklch(49.11% 0.172 341)
XYZxyz(18.2764, 10.2781, 20.4194)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B7D #2B9C4A
analogous
#832B9C #9C2B7D #9C2B45
triadic
#9C2B7D #7D9C2B #2B7D9C
tetradic
#9C2B7D #9C832B #2B9C4A #2B459C
square
#9C2B7D #9C832B #2B9C4A #2B459C
split-complementary
#9C2B7D #459C2B #2B9C83
monochromatic
#3C1130 #6C1E57 #9C2B7D #C93BA2 #D66BB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2B7D#FFFFFF#000000##FFFFFF
##9C2B7D1.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)
#344F7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A62D50
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2b7d;
/* rgb */ color: rgb(156, 43, 125);
/* oklch */ color: oklch(49.1% 0.172 341.0);
Tailwind
colors: {
  custom: {
    50: '#bd6fa3',
    500: '#9c2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b7d;
$custom-light: #bd6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b7d",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 316.46,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.17193,
    "h": 341
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#9C2B7D
secondary
#66BD7E
accent
#E07248
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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