#9B1F85#9B1F85

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

Color values

HEX#9B1F85
RGBrgb(155, 31, 133)
HSLhsl(311, 67%, 36%)
HSVhsv(311, 80%, 61%)
CMYKcmyk(0%, 80%, 14.2%, 39.2%)
CIE-LABlab(37.20, 59.12, -27.54)
CIE-LCHlch(37.20, 65.22, 335.02°)
OKLaboklab(48.38% 0.1741 -0.0751)
OKLCHoklch(48.38% 0.19 336.7)
XYZxyz(18.2415, 9.6437, 23.0865)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F85 #1F9B35
analogous
#731F9B #9B1F85 #9B1F47
triadic
#9B1F85 #859B1F #1F859B
tetradic
#9B1F85 #9B731F #1F9B35 #1F479B
square
#9B1F85 #9B731F #1F9B35 #1F479B
split-complementary
#9B1F85 #479B1F #1F9B73
monochromatic
#350B2D #681559 #9B1F85 #CE29B1 #DD57C6

Accessibility & contrast

On white

7.17
#9B1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F85
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F85#FFFFFF#000000##FFFFFF
##9B1F851.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#4F5E82
Tritanopia (blue-blind)
#A32851
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1f85;
/* rgb */ color: rgb(155, 31, 133);
/* oklch */ color: oklch(48.4% 0.190 336.7);
Tailwind
colors: {
  custom: {
    50: '#bc6aa9',
    500: '#9b1f85',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f85;
$custom-light: #bc6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f85",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 310.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.18964,
    "h": 336.7
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#9B1F85
secondary
#55C168
accent
#EA5D3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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