#9B1A82#9B1A82

#9B1A82 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.192 H 337.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9B1A82
RGBrgb(155, 26, 130)
HSLhsl(312, 71%, 35%)
HSVhsv(312, 83%, 61%)
CMYKcmyk(0%, 83.2%, 16.1%, 39.2%)
CIE-LABlab(36.59, 59.99, -26.63)
CIE-LCHlch(36.59, 65.63, 336.07°)
OKLaboklab(47.9% 0.1778 -0.0724)
OKLCHoklch(47.9% 0.192 337.8)
XYZxyz(17.9167, 9.3208, 21.9703)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A82 #1A9B33
analogous
#731A9B #9B1A82 #9B1A41
triadic
#9B1A82 #829B1A #1A829B
tetradic
#9B1A82 #9B731A #1A9B33 #1A419B
square
#9B1A82 #9B731A #1A9B33 #1A419B
split-complementary
#9B1A82 #419B1A #1A9B73
monochromatic
#32082A #671156 #9B1A82 #CF23AE #E14EC5

Accessibility & contrast

On white

7.33
#9B1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A82
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A82#FFFFFF#000000##FFFFFF
##9B1A821.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1a82;
/* rgb */ color: rgb(155, 26, 130);
/* oklch */ color: oklch(47.9% 0.192 337.8);
Tailwind
colors: {
  custom: {
    50: '#bd69a6',
    500: '#9b1a82',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a82;
$custom-light: #bd69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a82",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 311.628,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.19197,
    "h": 337.8
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#9B1A82
secondary
#4DC464
accent
#EE5D3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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