#9B1F80#9B1F80

#9B1F80 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 338.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B1F80
RGBrgb(155, 31, 128)
HSLhsl(313, 67%, 36%)
HSVhsv(313, 80%, 61%)
CMYKcmyk(0%, 80%, 17.4%, 39.2%)
CIE-LABlab(36.95, 58.41, -24.83)
CIE-LCHlch(36.95, 63.47, 336.97°)
OKLaboklab(48.12% 0.1737 -0.0673)
OKLCHoklch(48.12% 0.186 338.8)
XYZxyz(17.9043, 9.5088, 21.3104)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F80 #1F9B3A
analogous
#781F9B #9B1F80 #9B1F42
triadic
#9B1F80 #809B1F #1F809B
tetradic
#9B1F80 #9B781F #1F9B3A #1F429B
square
#9B1F80 #9B781F #1F9B3A #1F429B
split-complementary
#9B1F80 #429B1F #1F9B78
monochromatic
#350B2C #681556 #9B1F80 #CE29AA #DD57C0

Accessibility & contrast

On white

7.24
#9B1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9B1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F80
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F80#FFFFFF#000000##FFFFFF
##9B1F801.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#A4254E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1f80;
/* rgb */ color: rgb(155, 31, 128);
/* oklch */ color: oklch(48.1% 0.186 338.8);
Tailwind
colors: {
  custom: {
    50: '#bc6aa5',
    500: '#9b1f80',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f80;
$custom-light: #bc6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f80",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 313.065,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48121,
    "c": 0.18627,
    "h": 338.8
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#9B1F80
secondary
#55C16C
accent
#EA643E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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