#9C1F85#9C1F85

#9C1F85 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 337.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9C1F85
RGBrgb(156, 31, 133)
HSLhsl(311, 67%, 37%)
HSVhsv(311, 80%, 61%)
CMYKcmyk(0%, 80.1%, 14.7%, 38.8%)
CIE-LABlab(37.38, 59.35, -27.25)
CIE-LCHlch(37.38, 65.30, 335.34°)
OKLaboklab(48.55% 0.1751 -0.0742)
OKLCHoklch(48.55% 0.19 337)
XYZxyz(18.4343, 9.7431, 23.0955)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F85 #1F9C36
analogous
#751F9C #9C1F85 #9C1F47
triadic
#9C1F85 #859C1F #1F859C
tetradic
#9C1F85 #9C751F #1F9C36 #1F479C
square
#9C1F85 #9C751F #1F9C36 #1F479C
split-complementary
#9C1F85 #479C1F #1F9C75
monochromatic
#360B2E #691559 #9C1F85 #CF29B1 #DE58C5

Accessibility & contrast

On white

7.12
#9C1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9C1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F85
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F85#FFFFFF#000000##FFFFFF
##9C1F851.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#A52851
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1f85;
/* rgb */ color: rgb(156, 31, 133);
/* oklch */ color: oklch(48.5% 0.190 337.0);
Tailwind
colors: {
  custom: {
    50: '#bd6aa9',
    500: '#9c1f85',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f85;
$custom-light: #bd6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f85",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 311.04,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.19019,
    "h": 337
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#9C1F85
secondary
#55C169
accent
#EA5E3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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