#9D2166#9D2166

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

Color values

HEX#9D2166
RGBrgb(157, 33, 102)
HSLhsl(327, 65%, 37%)
HSVhsv(327, 79%, 62%)
CMYKcmyk(0%, 79%, 35%, 38.4%)
CIE-LABlab(36.40, 55.01, -9.29)
CIE-LCHlch(36.40, 55.79, 350.42°)
OKLaboklab(47.43% 0.1688 -0.024)
OKLCHoklch(47.43% 0.17 351.9)
XYZxyz(16.8478, 9.2172, 13.4597)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2166 #219D58
analogous
#96219D #9D2166 #9D2128
triadic
#9D2166 #669D21 #21669D
tetradic
#9D2166 #9D9621 #219D58 #21289D
square
#9D2166 #9D9621 #219D58 #21289D
split-complementary
#9D2166 #289D21 #219D96
monochromatic
#380C24 #6A1645 #9D2166 #D02C87 #DD5CA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2166#FFFFFF#000000##FFFFFF
##9D21661.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)
#384768
Deuteranopia (green-blind)
#5C5E63
Tritanopia (blue-blind)
#A91541
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2166;
/* rgb */ color: rgb(157, 33, 102);
/* oklch */ color: oklch(47.4% 0.170 351.9);
Tailwind
colors: {
  custom: {
    50: '#bf6a91',
    500: '#9d2166',
    950: '#000000',
  },
}
SCSS
$custom: #9d2166;
$custom-light: #bf6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2166",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 326.613,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47428,
    "c": 0.17046,
    "h": 351.9
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#9D2166
secondary
#59C187
accent
#E88A40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D2166

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

Preview Lab → · Contrast checker → · Palette generator →

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