#9C1F52#9C1F52

#9C1F52 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.164 H 1.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9C1F52
RGBrgb(156, 31, 82)
HSLhsl(336, 67%, 37%)
HSVhsv(336, 80%, 61%)
CMYKcmyk(0%, 80.1%, 47.4%, 38.8%)
CIE-LABlab(35.32, 53.28, 1.93)
CIE-LCHlch(35.32, 53.31, 2.08°)
OKLaboklab(46.38% 0.1635 0.0055)
OKLCHoklch(46.38% 0.164 1.9)
XYZxyz(15.7246, 8.6592, 8.8244)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F52 #1F9C69
analogous
#9C1F91 #9C1F52 #9C2B1F
triadic
#9C1F52 #529C1F #1F529C
tetradic
#9C1F52 #919C1F #1F9C69 #2B1F9C
square
#9C1F52 #919C1F #1F9C69 #2B1F9C
split-complementary
#9C1F52 #1F9C2B #1F919C
monochromatic
#360B1C #691537 #9C1F52 #CF296D #DE588E

Accessibility & contrast

On white

7.69
#9C1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9C1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F52
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F52#FFFFFF#000000##FFFFFF
##9C1F521.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AA0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c1f52;
/* rgb */ color: rgb(156, 31, 82);
/* oklch */ color: oklch(46.4% 0.164 1.9);
Tailwind
colors: {
  custom: {
    50: '#bf6982',
    500: '#9c1f52',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f52;
$custom-light: #bf6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f52",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 335.52,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46382,
    "c": 0.16363,
    "h": 1.9
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#9C1F52
secondary
#55C195
accent
#EAA43E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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