#9B1D7C#9B1D7C

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

Color values

HEX#9B1D7C
RGBrgb(155, 29, 124)
HSLhsl(315, 68%, 36%)
HSVhsv(315, 81%, 61%)
CMYKcmyk(0%, 81.3%, 20%, 39.2%)
CIE-LABlab(36.56, 58.40, -22.94)
CIE-LCHlch(36.56, 62.74, 338.56°)
OKLaboklab(47.78% 0.1749 -0.0619)
OKLCHoklch(47.78% 0.186 340.5)
XYZxyz(17.5956, 9.3044, 19.9341)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D7C #1D9B3C
analogous
#7B1D9B #9B1D7C #9B1D3D
triadic
#9B1D7C #7C9B1D #1D7C9B
tetradic
#9B1D7C #9B7B1D #1D9B3C #1D3D9B
square
#9B1D7C #9B7B1D #1D9B3C #1D3D9B
split-complementary
#9B1D7C #3D9B1D #1D9B7B
monochromatic
#340A2A #671353 #9B1D7C #CF27A5 #DF53BD

Accessibility & contrast

On white

7.34
#9B1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1D7C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D7C#FFFFFF#000000##FFFFFF
##9B1D7C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A5214B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1d7c;
/* rgb */ color: rgb(155, 29, 124);
/* oklch */ color: oklch(47.8% 0.185 340.5);
Tailwind
colors: {
  custom: {
    50: '#bd69a2',
    500: '#9b1d7c',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d7c;
$custom-light: #bd69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d7c",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 314.762,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.1855,
    "h": 340.5
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#9B1D7C
secondary
#52C26D
accent
#EB673C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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