#9C1F82#9C1F82

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

Color values

HEX#9C1F82
RGBrgb(156, 31, 130)
HSLhsl(312, 67%, 37%)
HSVhsv(312, 80%, 61%)
CMYKcmyk(0%, 80.1%, 16.7%, 38.8%)
CIE-LABlab(37.23, 58.92, -25.62)
CIE-LCHlch(37.23, 64.25, 336.50°)
OKLaboklab(48.39% 0.1748 -0.0696)
OKLCHoklch(48.39% 0.188 338.3)
XYZxyz(18.2300, 9.6614, 22.0195)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F82 #1F9C39
analogous
#781F9C #9C1F82 #9C1F44
triadic
#9C1F82 #829C1F #1F829C
tetradic
#9C1F82 #9C781F #1F9C39 #1F449C
square
#9C1F82 #9C781F #1F9C39 #1F449C
split-complementary
#9C1F82 #449C1F #1F9C78
monochromatic
#360B2D #691557 #9C1F82 #CF29AD #DE58C2

Accessibility & contrast

On white

7.16
#9C1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9C1F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F82
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F82#FFFFFF#000000##FFFFFF
##9C1F821.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A5264F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1f82;
/* rgb */ color: rgb(156, 31, 130);
/* oklch */ color: oklch(48.4% 0.188 338.3);
Tailwind
colors: {
  custom: {
    50: '#bd6aa6',
    500: '#9c1f82',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f82;
$custom-light: #bd6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f82",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 312.48,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.18817,
    "h": 338.3
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#9C1F82
secondary
#55C16C
accent
#EA623E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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