#9B1D7B#9B1D7B

#9B1D7B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.185 H 340.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9B1D7B
RGBrgb(155, 29, 123)
HSLhsl(315, 68%, 36%)
HSVhsv(315, 81%, 61%)
CMYKcmyk(0%, 81.3%, 20.6%, 39.2%)
CIE-LABlab(36.52, 58.26, -22.39)
CIE-LCHlch(36.52, 62.41, 338.98°)
OKLaboklab(47.73% 0.1747 -0.0604)
OKLCHoklch(47.73% 0.185 340.9)
XYZxyz(17.5327, 9.2792, 19.6028)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D7B #1D9B3D
analogous
#7C1D9B #9B1D7B #9B1D3C
triadic
#9B1D7B #7B9B1D #1D7B9B
tetradic
#9B1D7B #9B7C1D #1D9B3D #1D3C9B
square
#9B1D7B #9B7C1D #1D9B3D #1D3C9B
split-complementary
#9B1D7B #3C9B1D #1D9B7C
monochromatic
#340A29 #671352 #9B1D7B #CF27A4 #DF53BC

Accessibility & contrast

On white

7.35
#9B1D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1D7B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D7B#FFFFFF#000000##FFFFFF
##9B1D7B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A5214B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1d7b;
/* rgb */ color: rgb(155, 29, 123);
/* oklch */ color: oklch(47.7% 0.185 340.9);
Tailwind
colors: {
  custom: {
    50: '#bd69a1',
    500: '#9b1d7b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d7b;
$custom-light: #bd69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d7b",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 315.238,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.18486,
    "h": 340.9
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#9B1D7B
secondary
#52C26E
accent
#EB693C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9B1D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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