#9B1F86#9B1F86

#9B1F86 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.190 H 336.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9B1F86
RGBrgb(155, 31, 134)
HSLhsl(310, 67%, 36%)
HSVhsv(310, 80%, 61%)
CMYKcmyk(0%, 80%, 13.5%, 39.2%)
CIE-LABlab(37.25, 59.27, -28.08)
CIE-LCHlch(37.25, 65.58, 334.65°)
OKLaboklab(48.44% 0.1742 -0.0766)
OKLCHoklch(48.44% 0.19 336.3)
XYZxyz(18.3110, 9.6715, 23.4521)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F86 #1F9B34
analogous
#721F9B #9B1F86 #9B1F48
triadic
#9B1F86 #869B1F #1F869B
tetradic
#9B1F86 #9B721F #1F9B34 #1F489B
square
#9B1F86 #9B721F #1F9B34 #1F489B
split-complementary
#9B1F86 #489B1F #1F9B72
monochromatic
#350B2E #68155A #9B1F86 #CE29B2 #DD57C7

Accessibility & contrast

On white

7.16
#9B1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B1F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F86
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F86#FFFFFF#000000##FFFFFF
##9B1F861.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#A32952
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1f86;
/* rgb */ color: rgb(155, 31, 134);
/* oklch */ color: oklch(48.4% 0.190 336.3);
Tailwind
colors: {
  custom: {
    50: '#bc6aa9',
    500: '#9b1f86',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f86;
$custom-light: #bc6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f86",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 310.161,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48435,
    "c": 0.19032,
    "h": 336.3
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#9B1F86
secondary
#55C167
accent
#EA5B3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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