#9C1F4B#9C1F4B

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

Color values

HEX#9C1F4B
RGBrgb(156, 31, 75)
HSLhsl(339, 67%, 37%)
HSVhsv(339, 80%, 61%)
CMYKcmyk(0%, 80.1%, 51.9%, 38.8%)
CIE-LABlab(35.12, 52.66, 6.18)
CIE-LCHlch(35.12, 53.02, 6.69°)
OKLaboklab(46.17% 0.161 0.0162)
OKLCHoklch(46.17% 0.162 5.7)
XYZxyz(15.4717, 8.5581, 7.4924)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F4B #1F9C70
analogous
#9C1F8A #9C1F4B #9C321F
triadic
#9C1F4B #4B9C1F #1F4B9C
tetradic
#9C1F4B #8A9C1F #1F9C70 #321F9C
square
#9C1F4B #8A9C1F #1F9C70 #321F9C
split-complementary
#9C1F4B #1F9C32 #1F8A9C
monochromatic
#360B1A #691532 #9C1F4B #CF2964 #DE5887

Accessibility & contrast

On white

7.75
#9C1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1F4B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F4B#FFFFFF#000000##FFFFFF
##9C1F4B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434C
Deuteranopia (green-blind)
#605B48
Tritanopia (blue-blind)
#AA0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c1f4b;
/* rgb */ color: rgb(156, 31, 75);
/* oklch */ color: oklch(46.2% 0.162 5.7);
Tailwind
colors: {
  custom: {
    50: '#bf687d',
    500: '#9c1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f4b;
$custom-light: #bf687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f4b",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 338.88,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.16178,
    "h": 5.7
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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