#9C2D79#9C2D79

#9C2D79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 343.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9C2D79
RGBrgb(156, 45, 121)
HSLhsl(319, 55%, 39%)
HSVhsv(319, 71%, 61%)
CMYKcmyk(0%, 71.2%, 22.4%, 38.8%)
CIE-LABlab(38.42, 53.08, -18.17)
CIE-LCHlch(38.42, 56.11, 341.10°)
OKLaboklab(49.12% 0.1596 -0.0486)
OKLCHoklch(49.12% 0.167 343.1)
XYZxyz(18.1005, 10.3270, 19.1255)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D79 #2D9C50
analogous
#882D9C #9C2D79 #9C2D42
triadic
#9C2D79 #799C2D #2D799C
tetradic
#9C2D79 #9C882D #2D9C50 #2D429C
square
#9C2D79 #9C882D #2D9C50 #2D429C
split-complementary
#9C2D79 #429C2D #2D9C88
monochromatic
#3D122F #6D1F54 #9C2D79 #C83F9C #D56EB5

Accessibility & contrast

On white

6.85
#9C2D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C2D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D79
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D79#FFFFFF#000000##FFFFFF
##9C2D791.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2d79;
/* rgb */ color: rgb(156, 45, 121);
/* oklch */ color: oklch(49.1% 0.167 343.1);
Tailwind
colors: {
  custom: {
    50: '#bd70a0',
    500: '#9c2d79',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d79;
$custom-light: #bd70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d79",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 318.919,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4912,
    "c": 0.16683,
    "h": 343.1
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#9C2D79
secondary
#68BC83
accent
#DF7849
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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