#9B216C#9B216C

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

Color values

HEX#9B216C
RGBrgb(155, 33, 108)
HSLhsl(323, 65%, 37%)
HSVhsv(323, 79%, 61%)
CMYKcmyk(0%, 78.7%, 30.3%, 39.2%)
CIE-LABlab(36.25, 55.20, -13.35)
CIE-LCHlch(36.25, 56.79, 346.40°)
OKLaboklab(47.33% 0.1685 -0.0351)
OKLCHoklch(47.33% 0.172 348.2)
XYZxyz(16.7691, 9.1409, 15.0657)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B216C #219B50
analogous
#8D219B #9B216C #9B212F
triadic
#9B216C #6C9B21 #216C9B
tetradic
#9B216C #9B8D21 #219B50 #212F9B
square
#9B216C #9B8D21 #219B50 #212F9B
split-complementary
#9B216C #2F9B21 #219B8D
monochromatic
#360C26 #691649 #9B216C #CD2C8F #DC5AAA

Accessibility & contrast

On white

7.43
#9B216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B216C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B216C#FFFFFF#000000##FFFFFF
##9B216C1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486E
Deuteranopia (green-blind)
#595D69
Tritanopia (blue-blind)
#A61A44
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b216c;
/* rgb */ color: rgb(155, 33, 108);
/* oklch */ color: oklch(47.3% 0.172 348.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a96',
    500: '#9b216c',
    950: '#000000',
  },
}
SCSS
$custom: #9b216c;
$custom-light: #bd6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#9b216c",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 323.115,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47329,
    "c": 0.17211,
    "h": 348.2
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#9B216C
secondary
#58C080
accent
#E88140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B216C

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

Preview Lab → · Contrast checker → · Palette generator →

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