#9B1A7B#9B1A7B

#9B1A7B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.187 H 340.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9B1A7B
RGBrgb(155, 26, 123)
HSLhsl(315, 71%, 35%)
HSVhsv(315, 83%, 61%)
CMYKcmyk(0%, 83.2%, 20.6%, 39.2%)
CIE-LABlab(36.25, 59.03, -22.80)
CIE-LCHlch(36.25, 63.28, 338.88°)
OKLaboklab(47.54% 0.1771 -0.0615)
OKLCHoklch(47.54% 0.187 340.8)
XYZxyz(17.4627, 9.1393, 19.5795)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A7B #1A9B3A
analogous
#7B1A9B #9B1A7B #9B1A3A
triadic
#9B1A7B #7B9B1A #1A7B9B
tetradic
#9B1A7B #9B7B1A #1A9B3A #1A3A9B
square
#9B1A7B #9B7B1A #1A9B3A #1A3A9B
split-complementary
#9B1A7B #3A9B1A #1A9B7B
monochromatic
#320828 #671151 #9B1A7B #CF23A5 #E14EBD

Accessibility & contrast

On white

7.43
#9B1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B1A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A7B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A7B#FFFFFF#000000##FFFFFF
##9B1A7B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487D
Deuteranopia (green-blind)
#525C78
Tritanopia (blue-blind)
#A51E4A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1a7b;
/* rgb */ color: rgb(155, 26, 123);
/* oklch */ color: oklch(47.5% 0.187 340.8);
Tailwind
colors: {
  custom: {
    50: '#bd68a1',
    500: '#9b1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a7b;
$custom-light: #bd68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a7b",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 314.884,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.18745,
    "h": 340.8
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#9B1A7B
secondary
#4DC46B
accent
#EE663A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9B1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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