#9C2D7D#9C2D7D

#9C2D7D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.169 H 341.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9C2D7D
RGBrgb(156, 45, 125)
HSLhsl(317, 55%, 39%)
HSVhsv(317, 71%, 61%)
CMYKcmyk(0%, 71.2%, 19.9%, 38.8%)
CIE-LABlab(38.60, 53.65, -20.39)
CIE-LCHlch(38.60, 57.39, 339.19°)
OKLaboklab(49.31% 0.1603 -0.0548)
OKLCHoklch(49.31% 0.169 341.1)
XYZxyz(18.3509, 10.4271, 20.4442)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D7D #2D9C4C
analogous
#842D9C #9C2D7D #9C2D45
triadic
#9C2D7D #7D9C2D #2D7D9C
tetradic
#9C2D7D #9C842D #2D9C4C #2D459C
square
#9C2D7D #9C842D #2D9C4C #2D459C
split-complementary
#9C2D7D #459C2D #2D9C84
monochromatic
#3D1231 #6D1F57 #9C2D7D #C83FA1 #D56EB8

Accessibility & contrast

On white

6.81
#9C2D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9C2D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D7D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D7D#FFFFFF#000000##FFFFFF
##9C2D7D1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A52F51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2d7d;
/* rgb */ color: rgb(156, 45, 125);
/* oklch */ color: oklch(49.3% 0.169 341.1);
Tailwind
colors: {
  custom: {
    50: '#bd70a3',
    500: '#9c2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d7d;
$custom-light: #bd70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d7d",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 316.757,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.16945,
    "h": 341.1
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#9C2D7D
secondary
#68BC80
accent
#DF7349
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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