#9B216F#9B216F

#9B216F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.174 H 346.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9B216F
RGBrgb(155, 33, 111)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 61%)
CMYKcmyk(0%, 78.7%, 28.4%, 39.2%)
CIE-LABlab(36.38, 55.57, -15.06)
CIE-LCHlch(36.38, 57.57, 344.84°)
OKLaboklab(47.46% 0.1692 -0.0398)
OKLCHoklch(47.46% 0.174 346.7)
XYZxyz(16.9315, 9.2059, 15.9211)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B216F #219B4D
analogous
#8A219B #9B216F #9B2132
triadic
#9B216F #6F9B21 #216F9B
tetradic
#9B216F #9B8A21 #219B4D #21329B
square
#9B216F #9B8A21 #219B4D #21329B
split-complementary
#9B216F #329B21 #219B8A
monochromatic
#360C27 #69164B #9B216F #CD2C93 #DC5AAD

Accessibility & contrast

On white

7.39
#9B216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B216F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B216F#FFFFFF#000000##FFFFFF
##9B216F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A61C45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b216f;
/* rgb */ color: rgb(155, 33, 111);
/* oklch */ color: oklch(47.5% 0.174 346.7);
Tailwind
colors: {
  custom: {
    50: '#bd6a98',
    500: '#9b216f',
    950: '#000000',
  },
}
SCSS
$custom: #9b216f;
$custom-light: #bd6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#9b216f",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 321.639,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.17378,
    "h": 346.7
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#9B216F
secondary
#58C07D
accent
#E87C40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B216F

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

Preview Lab → · Contrast checker → · Palette generator →

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