#9C2D7E#9C2D7E

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

Color values

HEX#9C2D7E
RGBrgb(156, 45, 126)
HSLhsl(316, 55%, 39%)
HSVhsv(316, 71%, 61%)
CMYKcmyk(0%, 71.2%, 19.2%, 38.8%)
CIE-LABlab(38.64, 53.79, -20.94)
CIE-LCHlch(38.64, 57.72, 338.73°)
OKLaboklab(49.35% 0.1605 -0.0564)
OKLCHoklch(49.35% 0.17 340.6)
XYZxyz(18.4151, 10.4528, 20.7824)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D7E #2D9C4B
analogous
#832D9C #9C2D7E #9C2D47
triadic
#9C2D7E #7E9C2D #2D7E9C
tetradic
#9C2D7E #9C832D #2D9C4B #2D479C
square
#9C2D7E #9C832D #2D9C4B #2D479C
split-complementary
#9C2D7E #479C2D #2D9C83
monochromatic
#3D1231 #6D1F58 #9C2D7E #C83FA3 #D56EB9

Accessibility & contrast

On white

6.80
#9C2D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2D7E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D7E#FFFFFF#000000##FFFFFF
##9C2D7E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#A53051
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2d7e;
/* rgb */ color: rgb(156, 45, 126);
/* oklch */ color: oklch(49.4% 0.170 340.6);
Tailwind
colors: {
  custom: {
    50: '#bd70a3',
    500: '#9c2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d7e;
$custom-light: #bd70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d7e",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 316.216,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.17013,
    "h": 340.6
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#9C2D7E
secondary
#68BC7F
accent
#DF7249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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