#9C2E79#9C2E79

#9C2E79 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.166 H 343.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9C2E79
RGBrgb(156, 46, 121)
HSLhsl(319, 54%, 40%)
HSVhsv(319, 71%, 61%)
CMYKcmyk(0%, 70.5%, 22.4%, 38.8%)
CIE-LABlab(38.56, 52.70, -17.97)
CIE-LCHlch(38.56, 55.68, 341.18°)
OKLaboklab(49.22% 0.1584 -0.048)
OKLCHoklch(49.22% 0.166 343.1)
XYZxyz(18.1391, 10.4042, 19.1384)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E79 #2E9C51
analogous
#882E9C #9C2E79 #9C2E42
triadic
#9C2E79 #799C2E #2E799C
tetradic
#9C2E79 #9C882E #2E9C51 #2E429C
square
#9C2E79 #9C882E #2E9C51 #2E429C
split-complementary
#9C2E79 #429C2E #2E9C88
monochromatic
#3D1230 #6D2054 #9C2E79 #C7409C #D570B5

Accessibility & contrast

On white

6.82
#9C2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2E79
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E79#FFFFFF#000000##FFFFFF
##9C2E791.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#A62E4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2e79;
/* rgb */ color: rgb(156, 46, 121);
/* oklch */ color: oklch(49.2% 0.166 343.1);
Tailwind
colors: {
  custom: {
    50: '#bd70a0',
    500: '#9c2e79',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e79;
$custom-light: #bd70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e79",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 319.091,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.16555,
    "h": 343.1
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#9C2E79
secondary
#6ABC84
accent
#DE794A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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