#9B1A7C#9B1A7C

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

Color values

HEX#9B1A7C
RGBrgb(155, 26, 124)
HSLhsl(314, 71%, 35%)
HSVhsv(314, 83%, 61%)
CMYKcmyk(0%, 83.2%, 20%, 39.2%)
CIE-LABlab(36.30, 59.16, -23.35)
CIE-LCHlch(36.30, 63.60, 338.46°)
OKLaboklab(47.59% 0.1772 -0.0631)
OKLCHoklch(47.59% 0.188 340.4)
XYZxyz(17.5256, 9.1644, 19.9108)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A7C #1A9B39
analogous
#7A1A9B #9B1A7C #9B1A3B
triadic
#9B1A7C #7C9B1A #1A7C9B
tetradic
#9B1A7C #9B7A1A #1A9B39 #1A3B9B
square
#9B1A7C #9B7A1A #1A9B39 #1A3B9B
split-complementary
#9B1A7C #3B9B1A #1A9B7A
monochromatic
#320828 #671152 #9B1A7C #CF23A6 #E14EBE

Accessibility & contrast

On white

7.41
#9B1A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1A7C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A7C#FFFFFF#000000##FFFFFF
##9B1A7C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A51F4B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1a7c;
/* rgb */ color: rgb(155, 26, 124);
/* oklch */ color: oklch(47.6% 0.188 340.4);
Tailwind
colors: {
  custom: {
    50: '#bd68a2',
    500: '#9b1a7c',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a7c;
$custom-light: #bd68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a7c",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 314.419,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.18808,
    "h": 340.4
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#9B1A7C
secondary
#4DC46A
accent
#EE653A
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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