#9B1B7E#9B1B7E

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

Color values

HEX#9B1B7E
RGBrgb(155, 27, 126)
HSLhsl(314, 70%, 36%)
HSVhsv(314, 83%, 61%)
CMYKcmyk(0%, 82.6%, 18.7%, 39.2%)
CIE-LABlab(36.48, 59.19, -24.31)
CIE-LCHlch(36.48, 63.99, 337.67°)
OKLaboklab(47.76% 0.1767 -0.0658)
OKLCHoklch(47.76% 0.189 339.6)
XYZxyz(17.6759, 9.2606, 20.5912)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B7E #1B9B38
analogous
#781B9B #9B1B7E #9B1B3E
triadic
#9B1B7E #7E9B1B #1B7E9B
tetradic
#9B1B7E #9B781B #1B9B38 #1B3E9B
square
#9B1B7E #9B781B #1B9B38 #1B3E9B
split-complementary
#9B1B7E #3E9B1B #1B9B78
monochromatic
#330929 #671254 #9B1B7E #CF24A8 #E050C0

Accessibility & contrast

On white

7.36
#9B1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1B7E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B7E#FFFFFF#000000##FFFFFF
##9B1B7E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A4214C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1b7e;
/* rgb */ color: rgb(155, 27, 126);
/* oklch */ color: oklch(47.8% 0.189 339.6);
Tailwind
colors: {
  custom: {
    50: '#bd69a3',
    500: '#9b1b7e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b7e;
$custom-light: #bd69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b7e",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 313.594,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.18853,
    "h": 339.6
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#9B1B7E
secondary
#4FC369
accent
#ED633B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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