#9B1A84#9B1A84

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

Color values

HEX#9B1A84
RGBrgb(155, 26, 132)
HSLhsl(311, 71%, 35%)
HSVhsv(311, 83%, 61%)
CMYKcmyk(0%, 83.2%, 14.8%, 39.2%)
CIE-LABlab(36.70, 60.27, -27.71)
CIE-LCHlch(36.70, 66.33, 335.31°)
OKLaboklab(48.01% 0.1779 -0.0755)
OKLCHoklch(48.01% 0.193 337)
XYZxyz(18.0522, 9.3751, 22.6842)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A84 #1A9B31
analogous
#721A9B #9B1A84 #9B1A43
triadic
#9B1A84 #849B1A #1A849B
tetradic
#9B1A84 #9B721A #1A9B31 #1A439B
square
#9B1A84 #9B721A #1A9B31 #1A439B
split-complementary
#9B1A84 #439B1A #1A9B72
monochromatic
#32082B #671157 #9B1A84 #CF23B1 #E14EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1A84#FFFFFF#000000##FFFFFF
##9B1A841.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)
#1F4A87
Deuteranopia (green-blind)
#4E5D81
Tritanopia (blue-blind)
#A4244F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1a84;
/* rgb */ color: rgb(155, 26, 132);
/* oklch */ color: oklch(48.0% 0.193 337.0);
Tailwind
colors: {
  custom: {
    50: '#bd69a8',
    500: '#9b1a84',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a84;
$custom-light: #bd69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a84",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 310.698,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48008,
    "c": 0.1933,
    "h": 337
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#9B1A84
secondary
#4DC462
accent
#EE5A3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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