#9C1F48#9C1F48

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

Color values

HEX#9C1F48
RGBrgb(156, 31, 72)
HSLhsl(340, 67%, 37%)
HSVhsv(340, 80%, 61%)
CMYKcmyk(0%, 80.1%, 53.8%, 38.8%)
CIE-LABlab(35.04, 52.42, 8.01)
CIE-LCHlch(35.04, 53.03, 8.69°)
OKLaboklab(46.08% 0.1598 0.0206)
OKLCHoklch(46.08% 0.161 7.4)
XYZxyz(15.3714, 8.5180, 6.9644)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F48 #1F9C73
analogous
#9C1F87 #9C1F48 #9C351F
triadic
#9C1F48 #489C1F #1F489C
tetradic
#9C1F48 #879C1F #1F9C73 #351F9C
square
#9C1F48 #879C1F #1F9C73 #351F9C
split-complementary
#9C1F48 #1F9C35 #1F879C
monochromatic
#360B19 #691530 #9C1F48 #CF2960 #DE5884

Accessibility & contrast

On white

7.77
#9C1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1F48
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F48#FFFFFF#000000##FFFFFF
##9C1F481.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#AB0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9c1f48;
/* rgb */ color: rgb(156, 31, 72);
/* oklch */ color: oklch(46.1% 0.161 7.4);
Tailwind
colors: {
  custom: {
    50: '#bf687a',
    500: '#9c1f48',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f48;
$custom-light: #bf687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f48",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 340.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.16114,
    "h": 7.4
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#9C1F48
secondary
#55C19E
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9C1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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