#9C1F4C#9C1F4C

#9C1F4C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 5.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9C1F4C
RGBrgb(156, 31, 76)
HSLhsl(338, 67%, 37%)
HSVhsv(338, 80%, 61%)
CMYKcmyk(0%, 80.1%, 51.3%, 38.8%)
CIE-LABlab(35.15, 52.75, 5.57)
CIE-LCHlch(35.15, 53.04, 6.03°)
OKLaboklab(46.2% 0.1613 0.0147)
OKLCHoklch(46.2% 0.162 5.2)
XYZxyz(15.5062, 8.5719, 7.6741)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F4C #1F9C6F
analogous
#9C1F8B #9C1F4C #9C311F
triadic
#9C1F4C #4C9C1F #1F4C9C
tetradic
#9C1F4C #8B9C1F #1F9C6F #311F9C
square
#9C1F4C #8B9C1F #1F9C6F #311F9C
split-complementary
#9C1F4C #1F9C31 #1F8B9C
monochromatic
#360B1A #691533 #9C1F4C #CF2965 #DE5888

Accessibility & contrast

On white

7.74
#9C1F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9C1F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F4C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F4C#FFFFFF#000000##FFFFFF
##9C1F4C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#AA0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c1f4c;
/* rgb */ color: rgb(156, 31, 76);
/* oklch */ color: oklch(46.2% 0.162 5.2);
Tailwind
colors: {
  custom: {
    50: '#bf687d',
    500: '#9c1f4c',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f4c;
$custom-light: #bf687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f4c",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 338.4,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.162,
    "h": 5.2
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#9C1F4C
secondary
#55C19B
accent
#EAAC3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9C1F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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