#9B1B82#9B1B82

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

Color values

HEX#9B1B82
RGBrgb(155, 27, 130)
HSLhsl(312, 70%, 36%)
HSVhsv(312, 83%, 61%)
CMYKcmyk(0%, 82.6%, 16.1%, 39.2%)
CIE-LABlab(36.68, 59.74, -26.49)
CIE-LCHlch(36.68, 65.35, 336.08°)
OKLaboklab(47.96% 0.177 -0.0721)
OKLCHoklch(47.96% 0.191 337.9)
XYZxyz(17.9392, 9.3659, 21.9778)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B82 #1B9B34
analogous
#741B9B #9B1B82 #9B1B42
triadic
#9B1B82 #829B1B #1B829B
tetradic
#9B1B82 #9B741B #1B9B34 #1B429B
square
#9B1B82 #9B741B #1B9B34 #1B429B
split-complementary
#9B1B82 #429B1B #1B9B74
monochromatic
#33092B #671256 #9B1B82 #CF24AE #E050C4

Accessibility & contrast

On white

7.31
#9B1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B82
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B82#FFFFFF#000000##FFFFFF
##9B1B821.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#A4244E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1b82;
/* rgb */ color: rgb(155, 27, 130);
/* oklch */ color: oklch(48.0% 0.191 337.9);
Tailwind
colors: {
  custom: {
    50: '#bd69a6',
    500: '#9b1b82',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b82;
$custom-light: #bd69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b82",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 311.719,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47962,
    "c": 0.19114,
    "h": 337.9
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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