#9B1C81#9B1C81

#9B1C81 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 338.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B1C81
RGBrgb(155, 28, 129)
HSLhsl(312, 69%, 36%)
HSVhsv(312, 82%, 61%)
CMYKcmyk(0%, 81.9%, 16.8%, 39.2%)
CIE-LABlab(36.72, 59.35, -25.81)
CIE-LCHlch(36.72, 64.72, 336.49°)
OKLaboklab(47.97% 0.1762 -0.0701)
OKLCHoklch(47.97% 0.19 338.3)
XYZxyz(17.8957, 9.3858, 21.6338)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C81 #1C9B36
analogous
#751C9B #9B1C81 #9B1C42
triadic
#9B1C81 #819B1C #1C819B
tetradic
#9B1C81 #9B751C #1C9B36 #1C429B
square
#9B1C81 #9B751C #1C9B36 #1C429B
split-complementary
#9B1C81 #429B1C #1C9B75
monochromatic
#33092B #671356 #9B1C81 #CF25AC #E052C3

Accessibility & contrast

On white

7.30
#9B1C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B1C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1C81
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C81#FFFFFF#000000##FFFFFF
##9B1C811.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#A4244E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1c81;
/* rgb */ color: rgb(155, 28, 129);
/* oklch */ color: oklch(48.0% 0.190 338.3);
Tailwind
colors: {
  custom: {
    50: '#bc69a6',
    500: '#9b1c81',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c81;
$custom-light: #bc69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c81",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 312.283,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.18963,
    "h": 338.3
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#9B1C81
secondary
#50C368
accent
#EC603C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1C81

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

Preview Lab → · Contrast checker → · Palette generator →

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