#9B1F83#9B1F83

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

Color values

HEX#9B1F83
RGBrgb(155, 31, 131)
HSLhsl(312, 67%, 36%)
HSVhsv(312, 80%, 61%)
CMYKcmyk(0%, 80%, 15.5%, 39.2%)
CIE-LABlab(37.09, 58.83, -26.46)
CIE-LCHlch(37.09, 64.51, 335.78°)
OKLaboklab(48.28% 0.174 -0.072)
OKLCHoklch(48.28% 0.188 337.5)
XYZxyz(18.1047, 9.5890, 22.3657)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F83 #1F9B37
analogous
#751F9B #9B1F83 #9B1F45
triadic
#9B1F83 #839B1F #1F839B
tetradic
#9B1F83 #9B751F #1F9B37 #1F459B
square
#9B1F83 #9B751F #1F9B37 #1F459B
split-complementary
#9B1F83 #459B1F #1F9B75
monochromatic
#350B2D #681558 #9B1F83 #CE29AE #DD57C3

Accessibility & contrast

On white

7.20
#9B1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F83
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F83#FFFFFF#000000##FFFFFF
##9B1F831.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#A42750
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1f83;
/* rgb */ color: rgb(155, 31, 131);
/* oklch */ color: oklch(48.3% 0.188 337.5);
Tailwind
colors: {
  custom: {
    50: '#bc6aa7',
    500: '#9b1f83',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f83;
$custom-light: #bc6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f83",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 311.613,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48276,
    "c": 0.18828,
    "h": 337.5
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#9B1F83
secondary
#55C16A
accent
#EA5F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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