#9C2A71#9C2A71

#9C2A71 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.166 H 346.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9C2A71
RGBrgb(156, 42, 113)
HSLhsl(323, 58%, 39%)
HSVhsv(323, 73%, 61%)
CMYKcmyk(0%, 73.1%, 27.6%, 38.8%)
CIE-LABlab(37.69, 53.11, -14.29)
CIE-LCHlch(37.69, 55.00, 344.94°)
OKLaboklab(48.48% 0.1613 -0.0378)
OKLCHoklch(48.48% 0.166 346.8)
XYZxyz(17.5197, 9.9180, 16.6113)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A71 #2A9C55
analogous
#8E2A9C #9C2A71 #9C2A38
triadic
#9C2A71 #719C2A #2A719C
tetradic
#9C2A71 #9C8E2A #2A9C55 #2A389C
square
#9C2A71 #9C8E2A #2A9C55 #2A389C
split-complementary
#9C2A71 #389C2A #2A9C8E
monochromatic
#3C102B #6C1D4E #9C2A71 #CA3993 #D76AAE

Accessibility & contrast

On white

7.04
#9C2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2A71
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A71#FFFFFF#000000##FFFFFF
##9C2A711.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A7274A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2a71;
/* rgb */ color: rgb(156, 42, 113);
/* oklch */ color: oklch(48.5% 0.166 346.8);
Tailwind
colors: {
  custom: {
    50: '#bd6e9a',
    500: '#9c2a71',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a71;
$custom-light: #bd6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a71",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 322.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.16564,
    "h": 346.8
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#9C2A71
secondary
#65BD86
accent
#E18147
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9C2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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