#9B2177#9B2177

#9B2177 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.179 H 342.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B2177
RGBrgb(155, 33, 119)
HSLhsl(318, 65%, 37%)
HSVhsv(318, 79%, 61%)
CMYKcmyk(0%, 78.7%, 23.2%, 39.2%)
CIE-LABlab(36.72, 56.60, -19.56)
CIE-LCHlch(36.72, 59.88, 340.94°)
OKLaboklab(47.82% 0.1707 -0.0524)
OKLCHoklch(47.82% 0.179 342.9)
XYZxyz(17.3919, 9.3900, 18.3457)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2177 #219B45
analogous
#82219B #9B2177 #9B213A
triadic
#9B2177 #779B21 #21779B
tetradic
#9B2177 #9B8221 #219B45 #213A9B
square
#9B2177 #9B8221 #219B45 #213A9B
split-complementary
#9B2177 #3A9B21 #219B82
monochromatic
#360C2A #691650 #9B2177 #CD2C9E #DC5AB6

Accessibility & contrast

On white

7.30
#9B2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2177
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2177#FFFFFF#000000##FFFFFF
##9B21771.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#555E74
Tritanopia (blue-blind)
#A5224A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2177;
/* rgb */ color: rgb(155, 33, 119);
/* oklch */ color: oklch(47.8% 0.179 342.9);
Tailwind
colors: {
  custom: {
    50: '#bd6a9e',
    500: '#9b2177',
    950: '#000000',
  },
}
SCSS
$custom: #9b2177;
$custom-light: #bd6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2177",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 317.705,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.17854,
    "h": 342.9
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#9B2177
secondary
#58C076
accent
#E87140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2177

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

Preview Lab → · Contrast checker → · Palette generator →

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