#9B216E#9B216E

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

Color values

HEX#9B216E
RGBrgb(155, 33, 110)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 61%)
CMYKcmyk(0%, 78.7%, 29%, 39.2%)
CIE-LABlab(36.34, 55.44, -14.49)
CIE-LCHlch(36.34, 57.31, 345.35°)
OKLaboklab(47.42% 0.1689 -0.0383)
OKLCHoklch(47.42% 0.173 347.2)
XYZxyz(16.8767, 9.1840, 15.6328)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B216E #219B4E
analogous
#8B219B #9B216E #9B2131
triadic
#9B216E #6E9B21 #216E9B
tetradic
#9B216E #9B8B21 #219B4E #21319B
square
#9B216E #9B8B21 #219B4E #21319B
split-complementary
#9B216E #319B21 #219B8B
monochromatic
#360C26 #69164A #9B216E #CD2C92 #DC5AAC

Accessibility & contrast

On white

7.40
#9B216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B216E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B216E#FFFFFF#000000##FFFFFF
##9B216E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#585D6B
Tritanopia (blue-blind)
#A61C45
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b216e;
/* rgb */ color: rgb(155, 33, 110);
/* oklch */ color: oklch(47.4% 0.173 347.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a97',
    500: '#9b216e',
    950: '#000000',
  },
}
SCSS
$custom: #9b216e;
$custom-light: #bd6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b216e",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 322.131,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.17322,
    "h": 347.2
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#9B216E
secondary
#58C07E
accent
#E87E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B216E

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

Preview Lab → · Contrast checker → · Palette generator →

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