#9C2579#9C2579

#9C2579 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.176 H 342.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9C2579
RGBrgb(156, 37, 121)
HSLhsl(318, 62%, 38%)
HSVhsv(318, 76%, 61%)
CMYKcmyk(0%, 76.3%, 22.4%, 38.8%)
CIE-LABlab(37.43, 55.88, -19.70)
CIE-LCHlch(37.43, 59.25, 340.58°)
OKLaboklab(48.4% 0.1682 -0.0528)
OKLCHoklch(48.4% 0.176 342.6)
XYZxyz(17.8237, 9.7734, 19.0332)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2579 #259C48
analogous
#83259C #9C2579 #9C253D
triadic
#9C2579 #799C25 #25799C
tetradic
#9C2579 #9C8325 #259C48 #253D9C
square
#9C2579 #9C8325 #259C48 #253D9C
split-complementary
#9C2579 #3D9C25 #259C83
monochromatic
#390E2C #6B1953 #9C2579 #CD319F #DA62B6

Accessibility & contrast

On white

7.11
#9C2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9C2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2579
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2579#FFFFFF#000000##FFFFFF
##9C25791.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#A6264C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2579;
/* rgb */ color: rgb(156, 37, 121);
/* oklch */ color: oklch(48.4% 0.176 342.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ca0',
    500: '#9c2579',
    950: '#000000',
  },
}
SCSS
$custom: #9c2579;
$custom-light: #bd6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2579",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 317.647,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.484,
    "c": 0.17626,
    "h": 342.6
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#9C2579
secondary
#5EBF7A
accent
#E57343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2579

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

Preview Lab → · Contrast checker → · Palette generator →

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