#9D1F86#9D1F86

#9D1F86 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.191 H 337.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D1F86
RGBrgb(157, 31, 134)
HSLhsl(311, 67%, 37%)
HSVhsv(311, 80%, 62%)
CMYKcmyk(0%, 80.3%, 14.6%, 38.4%)
CIE-LABlab(37.61, 59.72, -27.49)
CIE-LCHlch(37.61, 65.74, 335.29°)
OKLaboklab(48.76% 0.1762 -0.0749)
OKLCHoklch(48.76% 0.191 337)
XYZxyz(18.6981, 9.8711, 23.4702)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F86 #1F9D36
analogous
#751F9D #9D1F86 #9D1F47
triadic
#9D1F86 #869D1F #1F869D
tetradic
#9D1F86 #9D751F #1F9D36 #1F479D
square
#9D1F86 #9D751F #1F9D36 #1F479D
split-complementary
#9D1F86 #479D1F #1F9D75
monochromatic
#370B2F #6A155A #9D1F86 #D029B2 #DE58C6

Accessibility & contrast

On white

7.06
#9D1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D1F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F86
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F86#FFFFFF#000000##FFFFFF
##9D1F861.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#515F83
Tritanopia (blue-blind)
#A62852
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1f86;
/* rgb */ color: rgb(157, 31, 134);
/* oklch */ color: oklch(48.8% 0.191 337.0);
Tailwind
colors: {
  custom: {
    50: '#be6ba9',
    500: '#9d1f86',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f86;
$custom-light: #be6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f86",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 310.952,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.19142,
    "h": 337
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#9D1F86
secondary
#56C26A
accent
#EA5D3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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