#9B1A7D#9B1A7D

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

Color values

HEX#9B1A7D
RGBrgb(155, 26, 125)
HSLhsl(314, 71%, 35%)
HSVhsv(314, 83%, 61%)
CMYKcmyk(0%, 83.2%, 19.4%, 39.2%)
CIE-LABlab(36.35, 59.30, -23.90)
CIE-LCHlch(36.35, 63.93, 338.05°)
OKLaboklab(47.64% 0.1773 -0.0646)
OKLCHoklch(47.64% 0.189 340)
XYZxyz(17.5892, 9.1898, 20.2456)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A7D #1A9B38
analogous
#781A9B #9B1A7D #9B1A3D
triadic
#9B1A7D #7D9B1A #1A7D9B
tetradic
#9B1A7D #9B781A #1A9B38 #1A3D9B
square
#9B1A7D #9B781A #1A9B38 #1A3D9B
split-complementary
#9B1A7D #3D9B1A #1A9B78
monochromatic
#320828 #671153 #9B1A7D #CF23A7 #E14EBF

Accessibility & contrast

On white

7.40
#9B1A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B1A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A7D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A7D#FFFFFF#000000##FFFFFF
##9B1A7D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A5204B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1a7d;
/* rgb */ color: rgb(155, 26, 125);
/* oklch */ color: oklch(47.6% 0.189 340.0);
Tailwind
colors: {
  custom: {
    50: '#bd68a3',
    500: '#9b1a7d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a7d;
$custom-light: #bd68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a7d",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 313.953,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.18872,
    "h": 340
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#9B1A7D
secondary
#4DC469
accent
#EE643A
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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