#9B1F78#9B1F78

#9B1F78 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 342.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9B1F78
RGBrgb(155, 31, 120)
HSLhsl(317, 67%, 36%)
HSVhsv(317, 80%, 61%)
CMYKcmyk(0%, 80%, 22.6%, 39.2%)
CIE-LABlab(36.57, 57.31, -20.43)
CIE-LCHlch(36.57, 60.84, 340.38°)
OKLaboklab(47.73% 0.1726 -0.0549)
OKLCHoklch(47.73% 0.181 342.4)
XYZxyz(17.3984, 9.3065, 18.6457)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F78 #1F9B42
analogous
#801F9B #9B1F78 #9B1F3A
triadic
#9B1F78 #789B1F #1F789B
tetradic
#9B1F78 #9B801F #1F9B42 #1F3A9B
square
#9B1F78 #9B801F #1F9B42 #1F3A9B
split-complementary
#9B1F78 #3A9B1F #1F9B80
monochromatic
#350B29 #681551 #9B1F78 #CE299F #DD57B7

Accessibility & contrast

On white

7.34
#9B1F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B1F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F78
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F78#FFFFFF#000000##FFFFFF
##9B1F781.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A5204A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f78;
/* rgb */ color: rgb(155, 31, 120);
/* oklch */ color: oklch(47.7% 0.181 342.4);
Tailwind
colors: {
  custom: {
    50: '#bd6a9f',
    500: '#9b1f78',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f78;
$custom-light: #bd6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f78",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 316.935,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.18112,
    "h": 342.4
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#9B1F78
secondary
#55C173
accent
#EA6F3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F78

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

Preview Lab → · Contrast checker → · Palette generator →

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