#9B217A#9B217A

#9B217A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.180 H 341.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9B217A
RGBrgb(155, 33, 122)
HSLhsl(316, 65%, 37%)
HSVhsv(316, 79%, 61%)
CMYKcmyk(0%, 78.7%, 21.3%, 39.2%)
CIE-LABlab(36.86, 57.00, -21.23)
CIE-LCHlch(36.86, 60.83, 339.58°)
OKLaboklab(47.97% 0.1712 -0.0571)
OKLCHoklch(47.97% 0.18 341.5)
XYZxyz(17.5749, 9.4632, 19.3096)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B217A #219B42
analogous
#7F219B #9B217A #9B213D
triadic
#9B217A #7A9B21 #217A9B
tetradic
#9B217A #9B7F21 #219B42 #213D9B
square
#9B217A #9B7F21 #219B42 #213D9B
split-complementary
#9B217A #3D9B21 #219B7F
monochromatic
#360C2B #691652 #9B217A #CD2CA2 #DC5AB9

Accessibility & contrast

On white

7.26
#9B217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B217A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B217A#FFFFFF#000000##FFFFFF
##9B217A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A5234B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b217a;
/* rgb */ color: rgb(155, 33, 122);
/* oklch */ color: oklch(48.0% 0.180 341.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ba0',
    500: '#9b217a',
    950: '#000000',
  },
}
SCSS
$custom: #9b217a;
$custom-light: #bc6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b217a",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 316.23,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47968,
    "c": 0.18043,
    "h": 341.5
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#9B217A
secondary
#58C074
accent
#E86D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B217A

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

Preview Lab → · Contrast checker → · Palette generator →

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