#9C1F4E#9C1F4E

#9C1F4E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.163 H 4.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9C1F4E
RGBrgb(156, 31, 78)
HSLhsl(337, 67%, 37%)
HSVhsv(337, 80%, 61%)
CMYKcmyk(0%, 80.1%, 50%, 38.8%)
CIE-LABlab(35.20, 52.92, 4.35)
CIE-LCHlch(35.20, 53.10, 4.70°)
OKLaboklab(46.26% 0.1621 0.0116)
OKLCHoklch(46.26% 0.163 4.1)
XYZxyz(15.5768, 8.6001, 8.0460)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F4E #1F9C6D
analogous
#9C1F8D #9C1F4E #9C2F1F
triadic
#9C1F4E #4E9C1F #1F4E9C
tetradic
#9C1F4E #8D9C1F #1F9C6D #2F1F9C
square
#9C1F4E #8D9C1F #1F9C6D #2F1F9C
split-complementary
#9C1F4E #1F9C2F #1F8D9C
monochromatic
#360B1B #691534 #9C1F4E #CF2968 #DE588A

Accessibility & contrast

On white

7.72
#9C1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9C1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F4E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F4E#FFFFFF#000000##FFFFFF
##9C1F4E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#605C4B
Tritanopia (blue-blind)
#AA0034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c1f4e;
/* rgb */ color: rgb(156, 31, 78);
/* oklch */ color: oklch(46.3% 0.163 4.1);
Tailwind
colors: {
  custom: {
    50: '#bf687f',
    500: '#9c1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f4e;
$custom-light: #bf687f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f4e",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 337.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.16251,
    "h": 4.1
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#9C1F4E
secondary
#55C199
accent
#EAA93E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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