#9C1B84#9C1B84

#9C1B84 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.193 H 337.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9C1B84
RGBrgb(156, 27, 132)
HSLhsl(311, 70%, 36%)
HSVhsv(311, 83%, 61%)
CMYKcmyk(0%, 82.7%, 15.4%, 38.8%)
CIE-LABlab(36.97, 60.25, -27.27)
CIE-LCHlch(36.97, 66.13, 335.64°)
OKLaboklab(48.24% 0.1782 -0.0743)
OKLCHoklch(48.24% 0.193 337.4)
XYZxyz(18.2675, 9.5195, 22.7007)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1B84 #1B9C33
analogous
#731B9C #9C1B84 #9C1B43
triadic
#9C1B84 #849C1B #1B849C
tetradic
#9C1B84 #9C731B #1B9C33 #1B439C
square
#9C1B84 #9C731B #1B9C33 #1B439C
split-complementary
#9C1B84 #439C1B #1B9C73
monochromatic
#34092C #681258 #9C1B84 #D024B0 #E151C6

Accessibility & contrast

On white

7.23
#9C1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9C1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1B84
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1B84#FFFFFF#000000##FFFFFF
##9C1B841.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B87
Deuteranopia (green-blind)
#4F5E81
Tritanopia (blue-blind)
#A52550
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c1b84;
/* rgb */ color: rgb(156, 27, 132);
/* oklch */ color: oklch(48.2% 0.193 337.4);
Tailwind
colors: {
  custom: {
    50: '#bd69a8',
    500: '#9c1b84',
    950: '#000000',
  },
}
SCSS
$custom: #9c1b84;
$custom-light: #bd69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1b84",
  "rgb": {
    "r": 156,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 311.163,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.19301,
    "h": 337.4
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#9C1B84
secondary
#4FC365
accent
#ED5C3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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