#9C1F84#9C1F84

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

Color values

HEX#9C1F84
RGBrgb(156, 31, 132)
HSLhsl(312, 67%, 37%)
HSVhsv(312, 80%, 61%)
CMYKcmyk(0%, 80.1%, 15.4%, 38.8%)
CIE-LABlab(37.33, 59.20, -26.71)
CIE-LCHlch(37.33, 64.95, 335.72°)
OKLaboklab(48.49% 0.175 -0.0727)
OKLCHoklch(48.49% 0.19 337.5)
XYZxyz(18.3655, 9.7156, 22.7334)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F84 #1F9C37
analogous
#761F9C #9C1F84 #9C1F46
triadic
#9C1F84 #849C1F #1F849C
tetradic
#9C1F84 #9C761F #1F9C37 #1F469C
square
#9C1F84 #9C761F #1F9C37 #1F469C
split-complementary
#9C1F84 #469C1F #1F9C76
monochromatic
#360B2E #691559 #9C1F84 #CF29AF #DE58C4

Accessibility & contrast

On white

7.14
#9C1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F84
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F84#FFFFFF#000000##FFFFFF
##9C1F841.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A52750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1f84;
/* rgb */ color: rgb(156, 31, 132);
/* oklch */ color: oklch(48.5% 0.190 337.5);
Tailwind
colors: {
  custom: {
    50: '#bd6aa8',
    500: '#9c1f84',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f84;
$custom-light: #bd6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f84",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 311.52,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.18951,
    "h": 337.5
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#9C1F84
secondary
#55C16A
accent
#EA5F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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