#9B2166#9B2166

#9B2166 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.169 H 351.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9B2166
RGBrgb(155, 33, 102)
HSLhsl(326, 65%, 37%)
HSVhsv(326, 79%, 61%)
CMYKcmyk(0%, 78.7%, 34.2%, 39.2%)
CIE-LABlab(36.02, 54.49, -9.90)
CIE-LCHlch(36.02, 55.38, 349.70°)
OKLaboklab(47.08% 0.167 -0.0257)
OKLCHoklch(47.08% 0.169 351.3)
XYZxyz(16.4607, 9.0176, 13.4415)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2166 #219B56
analogous
#93219B #9B2166 #9B2129
triadic
#9B2166 #669B21 #21669B
tetradic
#9B2166 #9B9321 #219B56 #21299B
square
#9B2166 #9B9321 #219B56 #21299B
split-complementary
#9B2166 #299B21 #219B93
monochromatic
#360C24 #691645 #9B2166 #CD2C87 #DC5AA4

Accessibility & contrast

On white

7.49
#9B2166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9B2166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2166
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2166#FFFFFF#000000##FFFFFF
##9B21661.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374768
Deuteranopia (green-blind)
#5A5D63
Tritanopia (blue-blind)
#A71641
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b2166;
/* rgb */ color: rgb(155, 33, 102);
/* oklch */ color: oklch(47.1% 0.169 351.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a91',
    500: '#9b2166',
    950: '#000000',
  },
}
SCSS
$custom: #9b2166;
$custom-light: #bd6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2166",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 326.066,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.16897,
    "h": 351.3
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#9B2166
secondary
#58C085
accent
#E88940
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B2166

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

Preview Lab → · Contrast checker → · Palette generator →

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