#9C1F77#9C1F77

#9C1F77 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 343.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9C1F77
RGBrgb(156, 31, 119)
HSLhsl(318, 67%, 37%)
HSVhsv(318, 80%, 61%)
CMYKcmyk(0%, 80.1%, 23.7%, 38.8%)
CIE-LABlab(36.71, 57.42, -19.57)
CIE-LCHlch(36.71, 60.66, 341.18°)
OKLaboklab(47.85% 0.1734 -0.0524)
OKLCHoklch(47.85% 0.181 343.2)
XYZxyz(17.5308, 9.3817, 18.3368)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F77 #1F9C44
analogous
#831F9C #9C1F77 #9C1F39
triadic
#9C1F77 #779C1F #1F779C
tetradic
#9C1F77 #9C831F #1F9C44 #1F399C
square
#9C1F77 #9C831F #1F9C44 #1F399C
split-complementary
#9C1F77 #399C1F #1F9C83
monochromatic
#360B29 #691550 #9C1F77 #CF299E #DE58B6

Accessibility & contrast

On white

7.30
#9C1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9C1F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F77
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F77#FFFFFF#000000##FFFFFF
##9C1F771.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#555E74
Tritanopia (blue-blind)
#A61F49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f77;
/* rgb */ color: rgb(156, 31, 119);
/* oklch */ color: oklch(47.8% 0.181 343.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a9e',
    500: '#9c1f77',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f77;
$custom-light: #bd6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f77",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 317.76,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.18112,
    "h": 343.2
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#9C1F77
secondary
#55C175
accent
#EA713E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F77

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

Preview Lab → · Contrast checker → · Palette generator →

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