#9C2A79#9C2A79

#9C2A79 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.171 H 342.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9C2A79
RGBrgb(156, 42, 121)
HSLhsl(318, 58%, 39%)
HSVhsv(318, 73%, 61%)
CMYKcmyk(0%, 73.1%, 22.4%, 38.8%)
CIE-LABlab(38.03, 54.18, -18.78)
CIE-LCHlch(38.03, 57.34, 340.89°)
OKLaboklab(48.84% 0.163 -0.0503)
OKLCHoklch(48.84% 0.171 342.9)
XYZxyz(17.9901, 10.1062, 19.0887)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A79 #2A9C4D
analogous
#862A9C #9C2A79 #9C2A40
triadic
#9C2A79 #799C2A #2A799C
tetradic
#9C2A79 #9C862A #2A9C4D #2A409C
square
#9C2A79 #9C862A #2A9C4D #2A409C
split-complementary
#9C2A79 #409C2A #2A9C86
monochromatic
#3C102E #6C1D54 #9C2A79 #CA399D #D76AB5

Accessibility & contrast

On white

6.95
#9C2A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9C2A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A79
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A79#FFFFFF#000000##FFFFFF
##9C2A791.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A62B4E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2a79;
/* rgb */ color: rgb(156, 42, 121);
/* oklch */ color: oklch(48.8% 0.171 342.9);
Tailwind
colors: {
  custom: {
    50: '#bd6ea0',
    500: '#9c2a79',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a79;
$custom-light: #bd6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a79",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 318.421,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.17053,
    "h": 342.9
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#9C2A79
secondary
#65BD80
accent
#E17647
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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