#9C2C7E#9C2C7E

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

Color values

HEX#9C2C7E
RGBrgb(156, 44, 126)
HSLhsl(316, 56%, 39%)
HSVhsv(316, 72%, 61%)
CMYKcmyk(0%, 71.8%, 19.2%, 38.8%)
CIE-LABlab(38.51, 54.16, -21.14)
CIE-LCHlch(38.51, 58.14, 338.67°)
OKLaboklab(49.26% 0.1616 -0.057)
OKLCHoklch(49.26% 0.171 340.6)
XYZxyz(18.3774, 10.3774, 20.7698)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2C7E #2C9C4A
analogous
#822C9C #9C2C7E #9C2C46
triadic
#9C2C7E #7E9C2C #2C7E9C
tetradic
#9C2C7E #9C822C #2C9C4A #2C469C
square
#9C2C7E #9C822C #2C9C4A #2C469C
split-complementary
#9C2C7E #469C2C #2C9C82
monochromatic
#3D1131 #6C1F57 #9C2C7E #C83DA3 #D66DBA

Accessibility & contrast

On white

6.83
#9C2C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C2C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2C7E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2C7E#FFFFFF#000000##FFFFFF
##9C2C7E1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A52F51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2c7e;
/* rgb */ color: rgb(156, 44, 126);
/* oklch */ color: oklch(49.3% 0.171 340.6);
Tailwind
colors: {
  custom: {
    50: '#bd6fa3',
    500: '#9c2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2c7e;
$custom-light: #bd6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2c7e",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 316.071,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.17137,
    "h": 340.6
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#9C2C7E
secondary
#67BD7E
accent
#DF7149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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