#9B1C7A#9B1C7A

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

Color values

HEX#9B1C7A
RGBrgb(155, 28, 122)
HSLhsl(316, 69%, 36%)
HSVhsv(316, 82%, 61%)
CMYKcmyk(0%, 81.9%, 21.3%, 39.2%)
CIE-LABlab(36.38, 58.39, -21.98)
CIE-LCHlch(36.38, 62.39, 339.38°)
OKLaboklab(47.62% 0.1754 -0.0592)
OKLCHoklch(47.62% 0.185 341.3)
XYZxyz(17.4463, 9.2061, 19.2667)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C7A #1C9B3D
analogous
#7C1C9B #9B1C7A #9B1C3A
triadic
#9B1C7A #7A9B1C #1C7A9B
tetradic
#9B1C7A #9B7C1C #1C9B3D #1C3A9B
square
#9B1C7A #9B7C1C #1C9B3D #1C3A9B
split-complementary
#9B1C7A #3A9B1C #1C9B7C
monochromatic
#330928 #671351 #9B1C7A #CF25A3 #E052BB

Accessibility & contrast

On white

7.39
#9B1C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1C7A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C7A#FFFFFF#000000##FFFFFF
##9B1C7A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#A51F4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1c7a;
/* rgb */ color: rgb(155, 28, 122);
/* oklch */ color: oklch(47.6% 0.185 341.3);
Tailwind
colors: {
  custom: {
    50: '#bd69a0',
    500: '#9b1c7a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c7a;
$custom-light: #bd69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c7a",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 315.591,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.18511,
    "h": 341.3
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#9B1C7A
secondary
#50C36E
accent
#EC693C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9B1C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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