#9B216D#9B216D

#9B216D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 347.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9B216D
RGBrgb(155, 33, 109)
HSLhsl(323, 65%, 37%)
HSVhsv(323, 79%, 61%)
CMYKcmyk(0%, 78.7%, 29.7%, 39.2%)
CIE-LABlab(36.29, 55.32, -13.92)
CIE-LCHlch(36.29, 57.05, 345.87°)
OKLaboklab(47.37% 0.1687 -0.0367)
OKLCHoklch(47.37% 0.173 347.7)
XYZxyz(16.8226, 9.1623, 15.3476)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B216D #219B4F
analogous
#8C219B #9B216D #9B2130
triadic
#9B216D #6D9B21 #216D9B
tetradic
#9B216D #9B8C21 #219B4F #21309B
square
#9B216D #9B8C21 #219B4F #21309B
split-complementary
#9B216D #309B21 #219B8C
monochromatic
#360C26 #69164A #9B216D #CD2C90 #DC5AAB

Accessibility & contrast

On white

7.42
#9B216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B216D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B216D#FFFFFF#000000##FFFFFF
##9B216D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#585D6A
Tritanopia (blue-blind)
#A61B44
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b216d;
/* rgb */ color: rgb(155, 33, 109);
/* oklch */ color: oklch(47.4% 0.173 347.7);
Tailwind
colors: {
  custom: {
    50: '#bd6a97',
    500: '#9b216d',
    950: '#000000',
  },
}
SCSS
$custom: #9b216d;
$custom-light: #bd6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b216d",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 322.623,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.17267,
    "h": 347.7
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#9B216D
secondary
#58C07F
accent
#E87F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B216D

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

Preview Lab → · Contrast checker → · Palette generator →

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