#9C1F56#9C1F56

#9C1F56 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.165 H 359.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9C1F56
RGBrgb(156, 31, 86)
HSLhsl(334, 67%, 37%)
HSVhsv(334, 80%, 61%)
CMYKcmyk(0%, 80.1%, 44.9%, 38.8%)
CIE-LABlab(35.44, 53.65, -0.47)
CIE-LCHlch(35.44, 53.66, 359.49°)
OKLaboklab(46.51% 0.1649 -0.0006)
OKLCHoklch(46.51% 0.165 359.8)
XYZxyz(15.8813, 8.7219, 9.6495)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F56 #1F9C65
analogous
#9C1F95 #9C1F56 #9C271F
triadic
#9C1F56 #569C1F #1F569C
tetradic
#9C1F56 #959C1F #1F9C65 #271F9C
square
#9C1F56 #959C1F #1F9C65 #271F9C
split-complementary
#9C1F56 #1F9C27 #1F959C
monochromatic
#360B1E #69153A #9C1F56 #CF2972 #DE5893

Accessibility & contrast

On white

7.65
#9C1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9C1F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F56
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F56#FFFFFF#000000##FFFFFF
##9C1F561.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4457
Deuteranopia (green-blind)
#5E5C53
Tritanopia (blue-blind)
#AA0138
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c1f56;
/* rgb */ color: rgb(156, 31, 86);
/* oklch */ color: oklch(46.5% 0.165 359.8);
Tailwind
colors: {
  custom: {
    50: '#bf6985',
    500: '#9c1f56',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f56;
$custom-light: #bf6985;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f56",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 333.6,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.16493,
    "h": 359.8
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#9C1F56
secondary
#55C192
accent
#EA9E3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9C1F56

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

Preview Lab → · Contrast checker → · Palette generator →

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