#9B1B7D#9B1B7D

#9B1B7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.188 H 340.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9B1B7D
RGBrgb(155, 27, 125)
HSLhsl(314, 70%, 36%)
HSVhsv(314, 83%, 61%)
CMYKcmyk(0%, 82.6%, 19.4%, 39.2%)
CIE-LABlab(36.43, 59.05, -23.77)
CIE-LCHlch(36.43, 63.65, 338.08°)
OKLaboklab(47.71% 0.1765 -0.0643)
OKLCHoklch(47.71% 0.188 340)
XYZxyz(17.6117, 9.2349, 20.2531)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B7D #1B9B39
analogous
#791B9B #9B1B7D #9B1B3D
triadic
#9B1B7D #7D9B1B #1B7D9B
tetradic
#9B1B7D #9B791B #1B9B39 #1B3D9B
square
#9B1B7D #9B791B #1B9B39 #1B3D9B
split-complementary
#9B1B7D #3D9B1B #1B9B79
monochromatic
#330929 #671253 #9B1B7D #CF24A7 #E050BF

Accessibility & contrast

On white

7.38
#9B1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B1B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B7D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B7D#FFFFFF#000000##FFFFFF
##9B1B7D1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A5204C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1b7d;
/* rgb */ color: rgb(155, 27, 125);
/* oklch */ color: oklch(47.7% 0.188 340.0);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9b1b7d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b7d;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b7d",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 314.063,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.18788,
    "h": 340
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#9B1B7D
secondary
#4FC36A
accent
#ED653B
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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