#9B1D86#9B1D86

#9B1D86 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.192 H 336.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9B1D86
RGBrgb(155, 29, 134)
HSLhsl(310, 68%, 36%)
HSVhsv(310, 81%, 61%)
CMYKcmyk(0%, 81.3%, 13.5%, 39.2%)
CIE-LABlab(37.06, 59.80, -28.38)
CIE-LCHlch(37.06, 66.19, 334.62°)
OKLaboklab(48.3% 0.1758 -0.0775)
OKLCHoklch(48.3% 0.192 336.2)
XYZxyz(18.2603, 9.5703, 23.4352)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D86 #1D9B32
analogous
#711D9B #9B1D86 #9B1D47
triadic
#9B1D86 #869B1D #1D869B
tetradic
#9B1D86 #9B711D #1D9B32 #1D479B
square
#9B1D86 #9B711D #1D9B32 #1D479B
split-complementary
#9B1D86 #479B1D #1D9B71
monochromatic
#340A2D #671359 #9B1D86 #CF27B3 #DF53C8

Accessibility & contrast

On white

7.21
#9B1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D86
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D86#FFFFFF#000000##FFFFFF
##9B1D861.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#4E5E83
Tritanopia (blue-blind)
#A32851
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1d86;
/* rgb */ color: rgb(155, 29, 134);
/* oklch */ color: oklch(48.3% 0.192 336.2);
Tailwind
colors: {
  custom: {
    50: '#bc6aa9',
    500: '#9b1d86',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d86;
$custom-light: #bc6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d86",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 310,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.19213,
    "h": 336.2
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#9B1D86
secondary
#52C264
accent
#EB5A3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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