#9B1C82#9B1C82

#9B1C82 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 337.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9B1C82
RGBrgb(155, 28, 130)
HSLhsl(312, 69%, 36%)
HSVhsv(312, 82%, 61%)
CMYKcmyk(0%, 81.9%, 16.1%, 39.2%)
CIE-LABlab(36.77, 59.49, -26.36)
CIE-LCHlch(36.77, 65.07, 336.10°)
OKLaboklab(48.03% 0.1763 -0.0717)
OKLCHoklch(48.03% 0.19 337.9)
XYZxyz(17.9625, 9.4126, 21.9856)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C82 #1C9B35
analogous
#741C9B #9B1C82 #9B1C42
triadic
#9B1C82 #829B1C #1C829B
tetradic
#9B1C82 #9B741C #1C9B35 #1C429B
square
#9B1C82 #9B741C #1C9B35 #1C429B
split-complementary
#9B1C82 #429B1C #1C9B74
monochromatic
#33092B #671357 #9B1C82 #CF25AD #E052C4

Accessibility & contrast

On white

7.29
#9B1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1C82
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C82#FFFFFF#000000##FFFFFF
##9B1C821.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#505D7F
Tritanopia (blue-blind)
#A4244F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1c82;
/* rgb */ color: rgb(155, 28, 130);
/* oklch */ color: oklch(48.0% 0.190 337.9);
Tailwind
colors: {
  custom: {
    50: '#bc69a6',
    500: '#9b1c82',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c82;
$custom-light: #bc69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c82",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 311.811,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48025,
    "c": 0.19029,
    "h": 337.9
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#9B1C82
secondary
#50C367
accent
#EC5E3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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