#9C1F80#9C1F80

#9C1F80 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.187 H 339.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9C1F80
RGBrgb(156, 31, 128)
HSLhsl(313, 67%, 37%)
HSVhsv(313, 80%, 61%)
CMYKcmyk(0%, 80.1%, 17.9%, 38.8%)
CIE-LABlab(37.13, 58.64, -24.53)
CIE-LCHlch(37.13, 63.56, 337.30°)
OKLaboklab(48.29% 0.1746 -0.0665)
OKLCHoklch(48.29% 0.187 339.2)
XYZxyz(18.0971, 9.6082, 21.3194)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F80 #1F9C3B
analogous
#7A1F9C #9C1F80 #9C1F42
triadic
#9C1F80 #809C1F #1F809C
tetradic
#9C1F80 #9C7A1F #1F9C3B #1F429C
square
#9C1F80 #9C7A1F #1F9C3B #1F429C
split-complementary
#9C1F80 #429C1F #1F9C7A
monochromatic
#360B2C #691556 #9C1F80 #CF29AA #DE58C0

Accessibility & contrast

On white

7.19
#9C1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9C1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F80
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F80#FFFFFF#000000##FFFFFF
##9C1F801.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B83
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A5254E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1f80;
/* rgb */ color: rgb(156, 31, 128);
/* oklch */ color: oklch(48.3% 0.187 339.2);
Tailwind
colors: {
  custom: {
    50: '#bd6aa5',
    500: '#9c1f80',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f80;
$custom-light: #bd6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f80",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 313.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48288,
    "c": 0.18684,
    "h": 339.2
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#9C1F80
secondary
#55C16E
accent
#EA653E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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