#9C2A6C#9C2A6C

#9C2A6C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.163 H 349.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9C2A6C
RGBrgb(156, 42, 108)
HSLhsl(325, 58%, 39%)
HSVhsv(325, 73%, 61%)
CMYKcmyk(0%, 73.1%, 30.8%, 38.8%)
CIE-LABlab(37.50, 52.48, -11.45)
CIE-LCHlch(37.50, 53.71, 347.70°)
OKLaboklab(48.27% 0.1601 -0.0299)
OKLCHoklch(48.27% 0.163 349.4)
XYZxyz(17.2459, 9.8085, 15.1695)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A6C #2A9C5A
analogous
#932A9C #9C2A6C #9C2A33
triadic
#9C2A6C #6C9C2A #2A6C9C
tetradic
#9C2A6C #9C932A #2A9C5A #2A339C
square
#9C2A6C #9C932A #2A9C5A #2A339C
split-complementary
#9C2A6C #339C2A #2A9C93
monochromatic
#3C1029 #6C1D4B #9C2A6C #CA398D #D76AA9

Accessibility & contrast

On white

7.09
#9C2A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C2A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2A6C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A6C#FFFFFF#000000##FFFFFF
##9C2A6C1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#5C6069
Tritanopia (blue-blind)
#A72447
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2a6c;
/* rgb */ color: rgb(156, 42, 108);
/* oklch */ color: oklch(48.3% 0.163 349.4);
Tailwind
colors: {
  custom: {
    50: '#bd6e96',
    500: '#9c2a6c',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a6c;
$custom-light: #bd6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a6c",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 325.263,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.16284,
    "h": 349.4
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#9C2A6C
secondary
#65BD8A
accent
#E18847
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9C2A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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