#9C1F5B#9C1F5B

#9C1F5B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.167 H 357.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9C1F5B
RGBrgb(156, 31, 91)
HSLhsl(331, 67%, 37%)
HSVhsv(331, 80%, 61%)
CMYKcmyk(0%, 80.1%, 41.7%, 38.8%)
CIE-LABlab(35.61, 54.15, -3.45)
CIE-LCHlch(35.61, 54.26, 356.35°)
OKLaboklab(46.69% 0.1666 -0.0084)
OKLCHoklch(46.69% 0.167 357.1)
XYZxyz(16.0898, 8.8053, 10.7478)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F5B #1F9C60
analogous
#9C1F9A #9C1F5B #9C221F
triadic
#9C1F5B #5B9C1F #1F5B9C
tetradic
#9C1F5B #9A9C1F #1F9C60 #221F9C
square
#9C1F5B #9A9C1F #1F9C60 #221F9C
split-complementary
#9C1F5B #1F9C22 #1F9A9C
monochromatic
#360B1F #69153D #9C1F5B #CF2979 #DE5898

Accessibility & contrast

On white

7.61
#9C1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9C1F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F5B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F5B#FFFFFF#000000##FFFFFF
##9C1F5B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455C
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#A9073A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c1f5b;
/* rgb */ color: rgb(156, 31, 91);
/* oklch */ color: oklch(46.7% 0.167 357.1);
Tailwind
colors: {
  custom: {
    50: '#be6989',
    500: '#9c1f5b',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f5b;
$custom-light: #be6989;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f5b",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 331.2,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.16678,
    "h": 357.1
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#9C1F5B
secondary
#55C18E
accent
#EA973E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9C1F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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