#9D2161#9D2161

#9D2161 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.168 H 354.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9D2161
RGBrgb(157, 33, 97)
HSLhsl(329, 65%, 37%)
HSVhsv(329, 79%, 62%)
CMYKcmyk(0%, 79%, 38.2%, 38.4%)
CIE-LABlab(36.22, 54.46, -6.37)
CIE-LCHlch(36.22, 54.83, 353.33°)
OKLaboklab(47.23% 0.1674 -0.0161)
OKLCHoklch(47.23% 0.168 354.5)
XYZxyz(16.6073, 9.1210, 12.1929)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2161 #219D5D
analogous
#9B219D #9D2161 #9D2123
triadic
#9D2161 #619D21 #21619D
tetradic
#9D2161 #9D9B21 #219D5D #21239D
square
#9D2161 #9D9B21 #219D5D #21239D
split-complementary
#9D2161 #239D21 #219D9B
monochromatic
#380C23 #6A1642 #9D2161 #D02C80 #DD5C9E

Accessibility & contrast

On white

7.44
#9D2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9D2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2161
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2161#FFFFFF#000000##FFFFFF
##9D21611.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4763
Deuteranopia (green-blind)
#5D5D5E
Tritanopia (blue-blind)
#AA103E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2161;
/* rgb */ color: rgb(157, 33, 97);
/* oklch */ color: oklch(47.2% 0.168 354.5);
Tailwind
colors: {
  custom: {
    50: '#bf6a8d',
    500: '#9d2161',
    950: '#000000',
  },
}
SCSS
$custom: #9d2161;
$custom-light: #bf6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2161",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 329.032,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.16814,
    "h": 354.5
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#9D2161
secondary
#59C18B
accent
#E89140
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D2161

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

Preview Lab → · Contrast checker → · Palette generator →

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