#9B2176#9B2176

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

Color values

HEX#9B2176
RGBrgb(155, 33, 118)
HSLhsl(318, 65%, 37%)
HSVhsv(318, 79%, 61%)
CMYKcmyk(0%, 78.7%, 23.9%, 39.2%)
CIE-LABlab(36.68, 56.47, -19.00)
CIE-LCHlch(36.68, 59.58, 341.40°)
OKLaboklab(47.78% 0.1705 -0.0508)
OKLCHoklch(47.78% 0.178 343.4)
XYZxyz(17.3321, 9.3661, 18.0311)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2176 #219B46
analogous
#83219B #9B2176 #9B2139
triadic
#9B2176 #769B21 #21769B
tetradic
#9B2176 #9B8321 #219B46 #21399B
square
#9B2176 #9B8321 #219B46 #21399B
split-complementary
#9B2176 #399B21 #219B83
monochromatic
#360C29 #691650 #9B2176 #CD2C9C #DC5AB5

Accessibility & contrast

On white

7.31
#9B2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2176
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2176#FFFFFF#000000##FFFFFF
##9B21761.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#565D73
Tritanopia (blue-blind)
#A52149
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2176;
/* rgb */ color: rgb(155, 33, 118);
/* oklch */ color: oklch(47.8% 0.178 343.4);
Tailwind
colors: {
  custom: {
    50: '#bd6a9d',
    500: '#9b2176',
    950: '#000000',
  },
}
SCSS
$custom: #9b2176;
$custom-light: #bd6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2176",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 318.197,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.17792,
    "h": 343.4
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#9B2176
secondary
#58C077
accent
#E87340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2176

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

Preview Lab → · Contrast checker → · Palette generator →

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