#9C1F87#9C1F87

#9C1F87 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.192 H 336.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9C1F87
RGBrgb(156, 31, 135)
HSLhsl(310, 67%, 37%)
HSVhsv(310, 80%, 61%)
CMYKcmyk(0%, 80.1%, 13.5%, 38.8%)
CIE-LABlab(37.48, 59.64, -28.32)
CIE-LCHlch(37.48, 66.02, 334.60°)
OKLaboklab(48.65% 0.1753 -0.0773)
OKLCHoklch(48.65% 0.192 336.2)
XYZxyz(18.5738, 9.7989, 23.8302)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F87 #1F9C34
analogous
#731F9C #9C1F87 #9C1F49
triadic
#9C1F87 #879C1F #1F879C
tetradic
#9C1F87 #9C731F #1F9C34 #1F499C
square
#9C1F87 #9C731F #1F9C34 #1F499C
split-complementary
#9C1F87 #499C1F #1F9C73
monochromatic
#360B2F #69155B #9C1F87 #CF29B3 #DE58C7

Accessibility & contrast

On white

7.10
#9C1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C1F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F87
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F87#FFFFFF#000000##FFFFFF
##9C1F871.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#4F5F84
Tritanopia (blue-blind)
#A42952
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1f87;
/* rgb */ color: rgb(156, 31, 135);
/* oklch */ color: oklch(48.7% 0.192 336.2);
Tailwind
colors: {
  custom: {
    50: '#bd6aaa',
    500: '#9c1f87',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f87;
$custom-light: #bd6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f87",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 310.08,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48652,
    "c": 0.19156,
    "h": 336.2
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#9C1F87
secondary
#55C167
accent
#EA5B3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1F87

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

Preview Lab → · Contrast checker → · Palette generator →

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