#9C1F79#9C1F79

#9C1F79 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.182 H 342.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9C1F79
RGBrgb(156, 31, 121)
HSLhsl(317, 67%, 37%)
HSVhsv(317, 80%, 61%)
CMYKcmyk(0%, 80.1%, 22.4%, 38.8%)
CIE-LABlab(36.80, 57.68, -20.68)
CIE-LCHlch(36.80, 61.28, 340.28°)
OKLaboklab(47.94% 0.1737 -0.0555)
OKLCHoklch(47.94% 0.182 342.3)
XYZxyz(17.6521, 9.4302, 18.9761)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F79 #1F9C42
analogous
#811F9C #9C1F79 #9C1F3B
triadic
#9C1F79 #799C1F #1F799C
tetradic
#9C1F79 #9C811F #1F9C42 #1F3B9C
square
#9C1F79 #9C811F #1F9C42 #1F3B9C
split-complementary
#9C1F79 #3B9C1F #1F9C81
monochromatic
#360B2A #691551 #9C1F79 #CF29A1 #DE58B8

Accessibility & contrast

On white

7.28
#9C1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9C1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F79
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F79#FFFFFF#000000##FFFFFF
##9C1F791.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A6214A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1f79;
/* rgb */ color: rgb(156, 31, 121);
/* oklch */ color: oklch(47.9% 0.182 342.3);
Tailwind
colors: {
  custom: {
    50: '#bd6aa0',
    500: '#9c1f79',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f79;
$custom-light: #bd6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f79",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 316.8,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.18236,
    "h": 342.3
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#9C1F79
secondary
#55C174
accent
#EA6E3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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