#9B216A#9B216A

#9B216A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.171 H 349.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9B216A
RGBrgb(155, 33, 106)
HSLhsl(324, 65%, 37%)
HSVhsv(324, 79%, 61%)
CMYKcmyk(0%, 78.7%, 31.6%, 39.2%)
CIE-LABlab(36.17, 54.96, -12.21)
CIE-LCHlch(36.17, 56.30, 347.48°)
OKLaboklab(47.25% 0.168 -0.032)
OKLCHoklch(47.25% 0.171 349.2)
XYZxyz(16.6639, 9.0988, 14.5116)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B216A #219B52
analogous
#8F219B #9B216A #9B212D
triadic
#9B216A #6A9B21 #216A9B
tetradic
#9B216A #9B8F21 #219B52 #212D9B
square
#9B216A #9B8F21 #219B52 #212D9B
split-complementary
#9B216A #2D9B21 #219B8F
monochromatic
#360C25 #691647 #9B216A #CD2C8D #DC5AA8

Accessibility & contrast

On white

7.45
#9B216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9B216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B216A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B216A#FFFFFF#000000##FFFFFF
##9B216A1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36476C
Deuteranopia (green-blind)
#595D67
Tritanopia (blue-blind)
#A71943
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b216a;
/* rgb */ color: rgb(155, 33, 106);
/* oklch */ color: oklch(47.2% 0.171 349.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a94',
    500: '#9b216a',
    950: '#000000',
  },
}
SCSS
$custom: #9b216a;
$custom-light: #bd6a94;
$custom-dark: #000000;
JSON
{
  "hex": "#9b216a",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 324.098,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.17103,
    "h": 349.2
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#9B216A
secondary
#58C082
accent
#E88340
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B216A

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

Preview Lab → · Contrast checker → · Palette generator →

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