#9C1F45#9C1F45

#9C1F45 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 9.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9C1F45
RGBrgb(156, 31, 69)
HSLhsl(342, 67%, 37%)
HSVhsv(342, 80%, 61%)
CMYKcmyk(0%, 80.1%, 55.8%, 38.8%)
CIE-LABlab(34.96, 52.18, 9.86)
CIE-LCHlch(34.96, 53.10, 10.70°)
OKLaboklab(46% 0.1586 0.025)
OKLCHoklch(46% 0.161 9)
XYZxyz(15.2759, 8.4798, 6.4615)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F45 #1F9C76
analogous
#9C1F84 #9C1F45 #9C381F
triadic
#9C1F45 #459C1F #1F459C
tetradic
#9C1F45 #849C1F #1F9C76 #381F9C
square
#9C1F45 #849C1F #1F9C76 #381F9C
split-complementary
#9C1F45 #1F9C38 #1F849C
monochromatic
#360B18 #69152E #9C1F45 #CF295C #DE5880

Accessibility & contrast

On white

7.79
#9C1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9C1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F45
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F45#FFFFFF#000000##FFFFFF
##9C1F451.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AB0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9c1f45;
/* rgb */ color: rgb(156, 31, 69);
/* oklch */ color: oklch(46.0% 0.161 9.0);
Tailwind
colors: {
  custom: {
    50: '#c06878',
    500: '#9c1f45',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f45;
$custom-light: #c06878;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f45",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 341.76,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.1606,
    "h": 9
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#9C1F45
secondary
#55C1A1
accent
#EAB63E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9C1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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