#9C1F72#9C1F72

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

Color values

HEX#9C1F72
RGBrgb(156, 31, 114)
HSLhsl(320, 67%, 37%)
HSVhsv(320, 80%, 61%)
CMYKcmyk(0%, 80.1%, 26.9%, 38.8%)
CIE-LABlab(36.49, 56.78, -16.77)
CIE-LCHlch(36.49, 59.20, 343.55°)
OKLaboklab(47.62% 0.1725 -0.0446)
OKLCHoklch(47.62% 0.178 345.5)
XYZxyz(17.2383, 9.2647, 16.7968)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F72 #1F9C49
analogous
#881F9C #9C1F72 #9C1F34
triadic
#9C1F72 #729C1F #1F729C
tetradic
#9C1F72 #9C881F #1F9C49 #1F349C
square
#9C1F72 #9C881F #1F9C49 #1F349C
split-complementary
#9C1F72 #349C1F #1F9C88
monochromatic
#360B27 #69154D #9C1F72 #CF2997 #DE58B1

Accessibility & contrast

On white

7.36
#9C1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1F72
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F72#FFFFFF#000000##FFFFFF
##9C1F721.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#A71C47
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f72;
/* rgb */ color: rgb(156, 31, 114);
/* oklch */ color: oklch(47.6% 0.178 345.5);
Tailwind
colors: {
  custom: {
    50: '#bd6a9a',
    500: '#9c1f72',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f72;
$custom-light: #bd6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f72",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 320.16,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47616,
    "c": 0.17815,
    "h": 345.5
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#9C1F72
secondary
#55C17A
accent
#EA783E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F72

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

Preview Lab → · Contrast checker → · Palette generator →

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