#9D2162#9D2162

#9D2162 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.169 H 354.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9D2162
RGBrgb(157, 33, 98)
HSLhsl(329, 65%, 37%)
HSVhsv(329, 79%, 62%)
CMYKcmyk(0%, 79%, 37.6%, 38.4%)
CIE-LABlab(36.25, 54.57, -6.96)
CIE-LCHlch(36.25, 55.01, 352.73°)
OKLaboklab(47.27% 0.1677 -0.0177)
OKLCHoklch(47.27% 0.169 354)
XYZxyz(16.6542, 9.1397, 12.4400)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2162 #219D5C
analogous
#9A219D #9D2162 #9D2124
triadic
#9D2162 #629D21 #21629D
tetradic
#9D2162 #9D9A21 #219D5C #21249D
square
#9D2162 #9D9A21 #219D5C #21249D
split-complementary
#9D2162 #249D21 #219D9A
monochromatic
#380C23 #6A1642 #9D2162 #D02C82 #DD5C9F

Accessibility & contrast

On white

7.43
#9D2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9D2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2162
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2162#FFFFFF#000000##FFFFFF
##9D21621.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5D5D5F
Tritanopia (blue-blind)
#AA113F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2162;
/* rgb */ color: rgb(157, 33, 98);
/* oklch */ color: oklch(47.3% 0.169 354.0);
Tailwind
colors: {
  custom: {
    50: '#bf6a8e',
    500: '#9d2162',
    950: '#000000',
  },
}
SCSS
$custom: #9d2162;
$custom-light: #bf6a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2162",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 328.548,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.16858,
    "h": 354
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#9D2162
secondary
#59C18A
accent
#E89040
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D2162

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

Preview Lab → · Contrast checker → · Palette generator →

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