#9C1F7A#9C1F7A

#9C1F7A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 341.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9C1F7A
RGBrgb(156, 31, 122)
HSLhsl(316, 67%, 37%)
HSVhsv(316, 80%, 61%)
CMYKcmyk(0%, 80.1%, 21.8%, 38.8%)
CIE-LABlab(36.85, 57.82, -21.24)
CIE-LCHlch(36.85, 61.59, 339.83°)
OKLaboklab(47.99% 0.1738 -0.0571)
OKLCHoklch(47.99% 0.183 341.8)
XYZxyz(17.7138, 9.4549, 19.3007)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F7A #1F9C41
analogous
#801F9C #9C1F7A #9C1F3C
triadic
#9C1F7A #7A9C1F #1F7A9C
tetradic
#9C1F7A #9C801F #1F9C41 #1F3C9C
square
#9C1F7A #9C801F #1F9C41 #1F3C9C
split-complementary
#9C1F7A #3C9C1F #1F9C80
monochromatic
#360B2A #691552 #9C1F7A #CF29A2 #DE58B9

Accessibility & contrast

On white

7.26
#9C1F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1F7A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F7A#FFFFFF#000000##FFFFFF
##9C1F7A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A6214B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1f7a;
/* rgb */ color: rgb(156, 31, 122);
/* oklch */ color: oklch(48.0% 0.183 341.8);
Tailwind
colors: {
  custom: {
    50: '#bd6aa0',
    500: '#9c1f7a',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f7a;
$custom-light: #bd6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f7a",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 316.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.18298,
    "h": 341.8
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#9C1F7A
secondary
#55C173
accent
#EA6D3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9C1F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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