#9B216B#9B216B

#9B216B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.172 H 348.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9B216B
RGBrgb(155, 33, 107)
HSLhsl(324, 65%, 37%)
HSVhsv(324, 79%, 61%)
CMYKcmyk(0%, 78.7%, 31%, 39.2%)
CIE-LABlab(36.21, 55.08, -12.78)
CIE-LCHlch(36.21, 56.54, 346.94°)
OKLaboklab(47.29% 0.1683 -0.0335)
OKLCHoklch(47.29% 0.172 348.7)
XYZxyz(16.7162, 9.1198, 14.7871)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B216B #219B51
analogous
#8E219B #9B216B #9B212E
triadic
#9B216B #6B9B21 #216B9B
tetradic
#9B216B #9B8E21 #219B51 #212E9B
square
#9B216B #9B8E21 #219B51 #212E9B
split-complementary
#9B216B #2E9B21 #219B8E
monochromatic
#360C25 #691648 #9B216B #CD2C8E #DC5AA9

Accessibility & contrast

On white

7.44
#9B216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B216B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B216B#FFFFFF#000000##FFFFFF
##9B216B1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486D
Deuteranopia (green-blind)
#595D68
Tritanopia (blue-blind)
#A71A43
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b216b;
/* rgb */ color: rgb(155, 33, 107);
/* oklch */ color: oklch(47.3% 0.172 348.7);
Tailwind
colors: {
  custom: {
    50: '#bd6a95',
    500: '#9b216b',
    950: '#000000',
  },
}
SCSS
$custom: #9b216b;
$custom-light: #bd6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#9b216b",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 323.607,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.17157,
    "h": 348.7
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#9B216B
secondary
#58C081
accent
#E88240
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B216B

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

Preview Lab → · Contrast checker → · Palette generator →

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