#9C1F71#9C1F71

#9C1F71 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.178 H 346.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9C1F71
RGBrgb(156, 31, 113)
HSLhsl(321, 67%, 37%)
HSVhsv(321, 80%, 61%)
CMYKcmyk(0%, 80.1%, 27.6%, 38.8%)
CIE-LABlab(36.45, 56.65, -16.20)
CIE-LCHlch(36.45, 58.92, 344.04°)
OKLaboklab(47.57% 0.1723 -0.043)
OKLCHoklch(47.57% 0.178 346)
XYZxyz(17.1817, 9.2421, 16.4987)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F71 #1F9C4A
analogous
#891F9C #9C1F71 #9C1F33
triadic
#9C1F71 #719C1F #1F719C
tetradic
#9C1F71 #9C891F #1F9C4A #1F339C
square
#9C1F71 #9C891F #1F9C4A #1F339C
split-complementary
#9C1F71 #339C1F #1F9C89
monochromatic
#360B27 #69154C #9C1F71 #CF2996 #DE58B0

Accessibility & contrast

On white

7.37
#9C1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9C1F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F71
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F71#FFFFFF#000000##FFFFFF
##9C1F711.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A71B46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f71;
/* rgb */ color: rgb(156, 31, 113);
/* oklch */ color: oklch(47.6% 0.178 346.0);
Tailwind
colors: {
  custom: {
    50: '#bd6a9a',
    500: '#9c1f71',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f71;
$custom-light: #bd6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f71",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 320.64,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.17756,
    "h": 346
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#9C1F71
secondary
#55C17B
accent
#EA793E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F71

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

Preview Lab → · Contrast checker → · Palette generator →

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