#9B2178#9B2178

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

Color values

HEX#9B2178
RGBrgb(155, 33, 120)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 61%)
CMYKcmyk(0%, 78.7%, 22.6%, 39.2%)
CIE-LABlab(36.77, 56.73, -20.12)
CIE-LCHlch(36.77, 60.19, 340.48°)
OKLaboklab(47.87% 0.1708 -0.054)
OKLCHoklch(47.87% 0.179 342.5)
XYZxyz(17.4522, 9.4142, 18.6637)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2178 #219B44
analogous
#81219B #9B2178 #9B213B
triadic
#9B2178 #789B21 #21789B
tetradic
#9B2178 #9B8121 #219B44 #213B9B
square
#9B2178 #9B8121 #219B44 #213B9B
split-complementary
#9B2178 #3B9B21 #219B81
monochromatic
#360C2A #691651 #9B2178 #CD2C9F #DC5AB7

Accessibility & contrast

On white

7.29
#9B2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2178
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2178#FFFFFF#000000##FFFFFF
##9B21781.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2178;
/* rgb */ color: rgb(155, 33, 120);
/* oklch */ color: oklch(47.9% 0.179 342.5);
Tailwind
colors: {
  custom: {
    50: '#bc6a9f',
    500: '#9b2178',
    950: '#000000',
  },
}
SCSS
$custom: #9b2178;
$custom-light: #bc6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2178",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 317.213,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.17917,
    "h": 342.5
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2178

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

Preview Lab → · Contrast checker → · Palette generator →

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