#9C1F83#9C1F83

#9C1F83 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 337.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9C1F83
RGBrgb(156, 31, 131)
HSLhsl(312, 67%, 37%)
HSVhsv(312, 80%, 61%)
CMYKcmyk(0%, 80.1%, 16%, 38.8%)
CIE-LABlab(37.28, 59.06, -26.16)
CIE-LCHlch(37.28, 64.60, 336.11°)
OKLaboklab(48.44% 0.1749 -0.0711)
OKLCHoklch(48.44% 0.189 337.9)
XYZxyz(18.2974, 9.6884, 22.3747)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F83 #1F9C38
analogous
#771F9C #9C1F83 #9C1F45
triadic
#9C1F83 #839C1F #1F839C
tetradic
#9C1F83 #9C771F #1F9C38 #1F459C
square
#9C1F83 #9C771F #1F9C38 #1F459C
split-complementary
#9C1F83 #459C1F #1F9C77
monochromatic
#360B2D #691558 #9C1F83 #CF29AE #DE58C3

Accessibility & contrast

On white

7.15
#9C1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1F83
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F83#FFFFFF#000000##FFFFFF
##9C1F831.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#A52750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1f83;
/* rgb */ color: rgb(156, 31, 131);
/* oklch */ color: oklch(48.4% 0.189 337.9);
Tailwind
colors: {
  custom: {
    50: '#bd6aa7',
    500: '#9c1f83',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f83;
$custom-light: #bd6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f83",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 312,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.18883,
    "h": 337.9
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#9C1F83
secondary
#55C16B
accent
#EA603E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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