#9C2F71#9C2F71

#9C2F71 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.159 H 347.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9C2F71
RGBrgb(156, 47, 113)
HSLhsl(324, 54%, 40%)
HSVhsv(324, 70%, 61%)
CMYKcmyk(0%, 69.9%, 27.6%, 38.8%)
CIE-LABlab(38.37, 51.23, -13.27)
CIE-LCHlch(38.37, 52.92, 345.48°)
OKLaboklab(48.97% 0.1555 -0.035)
OKLCHoklch(48.97% 0.159 347.3)
XYZxyz(17.7082, 10.2951, 16.6742)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F71 #2F9C5A
analogous
#912F9C #9C2F71 #9C2F3A
triadic
#9C2F71 #719C2F #2F719C
tetradic
#9C2F71 #9C912F #2F9C5A #2F3A9C
square
#9C2F71 #9C912F #2F9C5A #2F3A9C
split-complementary
#9C2F71 #3A9C2F #2F9C91
monochromatic
#3E132D #6D214F #9C2F71 #C64292 #D471AD

Accessibility & contrast

On white

6.87
#9C2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F71
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F71#FFFFFF#000000##FFFFFF
##9C2F711.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#A72C4C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2f71;
/* rgb */ color: rgb(156, 47, 113);
/* oklch */ color: oklch(49.0% 0.159 347.3);
Tailwind
colors: {
  custom: {
    50: '#bd7099',
    500: '#9c2f71',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f71;
$custom-light: #bd7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f71",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 323.67,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.15934,
    "h": 347.3
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#9C2F71
secondary
#6BBC8B
accent
#DD844B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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