#9B1D7D#9B1D7D

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

Color values

HEX#9B1D7D
RGBrgb(155, 29, 125)
HSLhsl(314, 68%, 36%)
HSVhsv(314, 81%, 61%)
CMYKcmyk(0%, 81.3%, 19.4%, 39.2%)
CIE-LABlab(36.61, 58.53, -23.49)
CIE-LCHlch(36.61, 63.07, 338.14°)
OKLaboklab(47.83% 0.175 -0.0635)
OKLCHoklch(47.83% 0.186 340.1)
XYZxyz(17.6591, 9.3298, 20.2689)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D7D #1D9B3B
analogous
#7A1D9B #9B1D7D #9B1D3E
triadic
#9B1D7D #7D9B1D #1D7D9B
tetradic
#9B1D7D #9B7A1D #1D9B3B #1D3E9B
square
#9B1D7D #9B7A1D #1D9B3B #1D3E9B
split-complementary
#9B1D7D #3E9B1D #1D9B7A
monochromatic
#340A2A #671353 #9B1D7D #CF27A7 #DF53BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1D7D#FFFFFF#000000##FFFFFF
##9B1D7D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A5224C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1d7d;
/* rgb */ color: rgb(155, 29, 125);
/* oklch */ color: oklch(47.8% 0.186 340.1);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9b1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d7d;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d7d",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 314.286,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.18614,
    "h": 340.1
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#9B1D7D
secondary
#52C26C
accent
#EB663C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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