#9C2671#9C2671

#9C2671 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.170 H 346.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9C2671
RGBrgb(156, 38, 113)
HSLhsl(322, 61%, 38%)
HSVhsv(322, 76%, 61%)
CMYKcmyk(0%, 75.6%, 27.6%, 38.8%)
CIE-LABlab(37.20, 54.50, -15.04)
CIE-LCHlch(37.20, 56.53, 344.57°)
OKLaboklab(48.12% 0.1656 -0.0398)
OKLCHoklch(48.12% 0.17 346.5)
XYZxyz(17.3848, 9.6483, 16.5664)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2671 #269C51
analogous
#8C269C #9C2671 #9C2636
triadic
#9C2671 #719C26 #26719C
tetradic
#9C2671 #9C8C26 #269C51 #26369C
square
#9C2671 #9C8C26 #269C51 #26369C
split-complementary
#9C2671 #369C26 #269C8C
monochromatic
#3A0E2A #6B1A4D #9C2671 #CD3295 #D963AE

Accessibility & contrast

On white

7.17
#9C2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9C2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2671
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2671#FFFFFF#000000##FFFFFF
##9C26711.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A72248
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2671;
/* rgb */ color: rgb(156, 38, 113);
/* oklch */ color: oklch(48.1% 0.170 346.5);
Tailwind
colors: {
  custom: {
    50: '#bd6c9a',
    500: '#9c2671',
    950: '#000000',
  },
}
SCSS
$custom: #9c2671;
$custom-light: #bd6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2671",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 321.864,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48121,
    "c": 0.1703,
    "h": 346.5
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#9C2671
secondary
#5FBF82
accent
#E47E44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C2671

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

Preview Lab → · Contrast checker → · Palette generator →

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