#9B1D78#9B1D78

#9B1D78 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.183 H 342.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9B1D78
RGBrgb(155, 29, 120)
HSLhsl(317, 68%, 36%)
HSVhsv(317, 81%, 61%)
CMYKcmyk(0%, 81.3%, 22.6%, 39.2%)
CIE-LABlab(36.38, 57.86, -20.73)
CIE-LCHlch(36.38, 61.46, 340.29°)
OKLaboklab(47.59% 0.1743 -0.0557)
OKLCHoklch(47.59% 0.183 342.3)
XYZxyz(17.3477, 9.2052, 18.6289)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D78 #1D9B40
analogous
#7F1D9B #9B1D78 #9B1D39
triadic
#9B1D78 #789B1D #1D789B
tetradic
#9B1D78 #9B7F1D #1D9B40 #1D399B
square
#9B1D78 #9B7F1D #1D9B40 #1D399B
split-complementary
#9B1D78 #399B1D #1D9B7F
monochromatic
#340A28 #671350 #9B1D78 #CF27A0 #DF53B8

Accessibility & contrast

On white

7.39
#9B1D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B1D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D78
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D78#FFFFFF#000000##FFFFFF
##9B1D781.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A51F49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1d78;
/* rgb */ color: rgb(155, 29, 120);
/* oklch */ color: oklch(47.6% 0.183 342.3);
Tailwind
colors: {
  custom: {
    50: '#bd699f',
    500: '#9b1d78',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d78;
$custom-light: #bd699f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d78",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 316.667,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47588,
    "c": 0.18298,
    "h": 342.3
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#9B1D78
secondary
#52C271
accent
#EB6D3C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1D78

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

Preview Lab → · Contrast checker → · Palette generator →

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