#9B1D77#9B1D77

#9B1D77 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.182 H 342.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9B1D77
RGBrgb(155, 29, 119)
HSLhsl(317, 68%, 36%)
HSVhsv(317, 81%, 61%)
CMYKcmyk(0%, 81.3%, 23.2%, 39.2%)
CIE-LABlab(36.33, 57.73, -20.17)
CIE-LCHlch(36.33, 61.15, 340.74°)
OKLaboklab(47.54% 0.1742 -0.0541)
OKLCHoklch(47.54% 0.182 342.7)
XYZxyz(17.2874, 9.1811, 18.3109)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D77 #1D9B41
analogous
#801D9B #9B1D77 #9B1D38
triadic
#9B1D77 #779B1D #1D779B
tetradic
#9B1D77 #9B801D #1D9B41 #1D389B
square
#9B1D77 #9B801D #1D9B41 #1D389B
split-complementary
#9B1D77 #389B1D #1D9B80
monochromatic
#340A28 #67134F #9B1D77 #CF279F #DF53B7

Accessibility & contrast

On white

7.41
#9B1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B1D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D77
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D77#FFFFFF#000000##FFFFFF
##9B1D771.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4879
Deuteranopia (green-blind)
#545D74
Tritanopia (blue-blind)
#A51E49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1d77;
/* rgb */ color: rgb(155, 29, 119);
/* oklch */ color: oklch(47.5% 0.182 342.7);
Tailwind
colors: {
  custom: {
    50: '#bd699e',
    500: '#9b1d77',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d77;
$custom-light: #bd699e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d77",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 317.143,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4754,
    "c": 0.18236,
    "h": 342.7
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#9B1D77
secondary
#52C272
accent
#EB6E3C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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