#9C2B71#9C2B71

#9C2B71 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.164 H 346.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9C2B71
RGBrgb(156, 43, 113)
HSLhsl(323, 57%, 39%)
HSVhsv(323, 72%, 61%)
CMYKcmyk(0%, 72.4%, 27.6%, 38.8%)
CIE-LABlab(37.82, 52.75, -14.09)
CIE-LCHlch(37.82, 54.60, 345.04°)
OKLaboklab(48.57% 0.1601 -0.0372)
OKLCHoklch(48.57% 0.164 346.9)
XYZxyz(17.5556, 9.9898, 16.6233)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B71 #2B9C56
analogous
#8F2B9C #9C2B71 #9C2B39
triadic
#9C2B71 #719C2B #2B719C
tetradic
#9C2B71 #9C8F2B #2B9C56 #2B399C
square
#9C2B71 #9C8F2B #2B9C56 #2B399C
split-complementary
#9C2B71 #399C2B #2B9C8F
monochromatic
#3C112B #6C1E4E #9C2B71 #C93B93 #D66BAD

Accessibility & contrast

On white

7.01
#9C2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9C2B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B71
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B71#FFFFFF#000000##FFFFFF
##9C2B711.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A7284A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2b71;
/* rgb */ color: rgb(156, 43, 113);
/* oklch */ color: oklch(48.6% 0.164 346.9);
Tailwind
colors: {
  custom: {
    50: '#bd6e9a',
    500: '#9c2b71',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b71;
$custom-light: #bd6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b71",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 322.832,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.16442,
    "h": 346.9
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#9C2B71
secondary
#66BD87
accent
#E08248
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9C2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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