#9C1F4F#9C1F4F

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

Color values

HEX#9C1F4F
RGBrgb(156, 31, 79)
HSLhsl(337, 67%, 37%)
HSVhsv(337, 80%, 61%)
CMYKcmyk(0%, 80.1%, 49.4%, 38.8%)
CIE-LABlab(35.23, 53.01, 3.75)
CIE-LCHlch(35.23, 53.14, 4.04°)
OKLaboklab(46.29% 0.1625 0.0101)
OKLCHoklch(46.29% 0.163 3.6)
XYZxyz(15.6129, 8.6146, 8.2363)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F4F #1F9C6C
analogous
#9C1F8E #9C1F4F #9C2E1F
triadic
#9C1F4F #4F9C1F #1F4F9C
tetradic
#9C1F4F #8E9C1F #1F9C6C #2E1F9C
square
#9C1F4F #8E9C1F #1F9C6C #2E1F9C
split-complementary
#9C1F4F #1F9C2E #1F8E9C
monochromatic
#360B1B #691535 #9C1F4F #CF2969 #DE588B

Accessibility & contrast

On white

7.71
#9C1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1F4F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F4F#FFFFFF#000000##FFFFFF
##9C1F4F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c1f4f;
/* rgb */ color: rgb(156, 31, 79);
/* oklch */ color: oklch(46.3% 0.163 3.6);
Tailwind
colors: {
  custom: {
    50: '#bf6880',
    500: '#9c1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f4f;
$custom-light: #bf6880;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f4f",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 336.96,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.16277,
    "h": 3.6
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#9C1F4F
secondary
#55C198
accent
#EAA83E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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