#9B1B84#9B1B84

#9B1B84 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.192 H 337.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9B1B84
RGBrgb(155, 27, 132)
HSLhsl(311, 70%, 36%)
HSVhsv(311, 83%, 61%)
CMYKcmyk(0%, 82.6%, 14.8%, 39.2%)
CIE-LABlab(36.78, 60.02, -27.58)
CIE-LCHlch(36.78, 66.06, 335.33°)
OKLaboklab(48.07% 0.1772 -0.0751)
OKLCHoklch(48.07% 0.192 337)
XYZxyz(18.0747, 9.4201, 22.6917)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B84 #1B9B32
analogous
#721B9B #9B1B84 #9B1B44
triadic
#9B1B84 #849B1B #1B849B
tetradic
#9B1B84 #9B721B #1B9B32 #1B449B
square
#9B1B84 #9B721B #1B9B32 #1B449B
split-complementary
#9B1B84 #449B1B #1B9B72
monochromatic
#33092B #671258 #9B1B84 #CF24B0 #E050C7

Accessibility & contrast

On white

7.28
#9B1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1B84
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B84#FFFFFF#000000##FFFFFF
##9B1B841.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A87
Deuteranopia (green-blind)
#4F5D81
Tritanopia (blue-blind)
#A42550
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1b84;
/* rgb */ color: rgb(155, 27, 132);
/* oklch */ color: oklch(48.1% 0.192 337.0);
Tailwind
colors: {
  custom: {
    50: '#bc69a8',
    500: '#9b1b84',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b84;
$custom-light: #bc69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b84",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 310.781,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.19248,
    "h": 337
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#9B1B84
secondary
#4FC364
accent
#ED5B3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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