#9B1F77#9B1F77

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

Color values

HEX#9B1F77
RGBrgb(155, 31, 119)
HSLhsl(317, 67%, 36%)
HSVhsv(317, 80%, 61%)
CMYKcmyk(0%, 80%, 23.2%, 39.2%)
CIE-LABlab(36.52, 57.18, -19.87)
CIE-LCHlch(36.52, 60.53, 340.83°)
OKLaboklab(47.68% 0.1725 -0.0533)
OKLCHoklch(47.68% 0.181 342.8)
XYZxyz(17.3380, 9.2823, 18.3278)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F77 #1F9B43
analogous
#811F9B #9B1F77 #9B1F39
triadic
#9B1F77 #779B1F #1F779B
tetradic
#9B1F77 #9B811F #1F9B43 #1F399B
square
#9B1F77 #9B811F #1F9B43 #1F399B
split-complementary
#9B1F77 #399B1F #1F9B81
monochromatic
#350B29 #681550 #9B1F77 #CE299E #DD57B6

Accessibility & contrast

On white

7.35
#9B1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F77
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F77#FFFFFF#000000##FFFFFF
##9B1F771.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#555D74
Tritanopia (blue-blind)
#A52049
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f77;
/* rgb */ color: rgb(155, 31, 119);
/* oklch */ color: oklch(47.7% 0.181 342.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a9e',
    500: '#9b1f77',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f77;
$custom-light: #bd6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f77",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 317.419,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.18051,
    "h": 342.8
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#9B1F77
secondary
#55C174
accent
#EA703E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F77

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

Preview Lab → · Contrast checker → · Palette generator →

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