#9B1F84#9B1F84

#9B1F84 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.189 H 337.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9B1F84
RGBrgb(155, 31, 132)
HSLhsl(311, 67%, 36%)
HSVhsv(311, 80%, 61%)
CMYKcmyk(0%, 80%, 14.8%, 39.2%)
CIE-LABlab(37.14, 58.98, -27.00)
CIE-LCHlch(37.14, 64.86, 335.40°)
OKLaboklab(48.33% 0.1741 -0.0735)
OKLCHoklch(48.33% 0.189 337.1)
XYZxyz(18.1728, 9.6162, 22.7244)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F84 #1F9B36
analogous
#741F9B #9B1F84 #9B1F46
triadic
#9B1F84 #849B1F #1F849B
tetradic
#9B1F84 #9B741F #1F9B36 #1F469B
square
#9B1F84 #9B741F #1F9B36 #1F469B
split-complementary
#9B1F84 #469B1F #1F9B74
monochromatic
#350B2D #681559 #9B1F84 #CE29AF #DD57C4

Accessibility & contrast

On white

7.18
#9B1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F84
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F84#FFFFFF#000000##FFFFFF
##9B1F841.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A42850
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1f84;
/* rgb */ color: rgb(155, 31, 132);
/* oklch */ color: oklch(48.3% 0.189 337.1);
Tailwind
colors: {
  custom: {
    50: '#bc6aa8',
    500: '#9b1f84',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f84;
$custom-light: #bc6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f84",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 311.129,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.18896,
    "h": 337.1
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#9B1F84
secondary
#55C169
accent
#EA5E3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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