#9B1B83#9B1B83

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

Color values

HEX#9B1B83
RGBrgb(155, 27, 131)
HSLhsl(311, 70%, 36%)
HSVhsv(311, 83%, 61%)
CMYKcmyk(0%, 82.6%, 15.5%, 39.2%)
CIE-LABlab(36.73, 59.88, -27.03)
CIE-LCHlch(36.73, 65.70, 335.70°)
OKLaboklab(48.02% 0.1771 -0.0736)
OKLCHoklch(48.02% 0.192 337.4)
XYZxyz(18.0066, 9.3929, 22.3330)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B83 #1B9B33
analogous
#731B9B #9B1B83 #9B1B43
triadic
#9B1B83 #839B1B #1B839B
tetradic
#9B1B83 #9B731B #1B9B33 #1B439B
square
#9B1B83 #9B731B #1B9B33 #1B439B
split-complementary
#9B1B83 #439B1B #1B9B73
monochromatic
#33092B #671257 #9B1B83 #CF24AF #E050C5

Accessibility & contrast

On white

7.30
#9B1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1B83
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B83#FFFFFF#000000##FFFFFF
##9B1B831.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#A4244F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1b83;
/* rgb */ color: rgb(155, 27, 131);
/* oklch */ color: oklch(48.0% 0.192 337.4);
Tailwind
colors: {
  custom: {
    50: '#bd69a7',
    500: '#9b1b83',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b83;
$custom-light: #bd69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b83",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 311.25,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.19181,
    "h": 337.4
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#9B1B83
secondary
#4FC365
accent
#ED5C3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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