#9D2165#9D2165

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

Color values

HEX#9D2165
RGBrgb(157, 33, 101)
HSLhsl(327, 65%, 37%)
HSVhsv(327, 79%, 62%)
CMYKcmyk(0%, 79%, 35.7%, 38.4%)
CIE-LABlab(36.36, 54.90, -8.71)
CIE-LCHlch(36.36, 55.58, 350.99°)
OKLaboklab(47.39% 0.1685 -0.0224)
OKLCHoklch(47.39% 0.17 352.4)
XYZxyz(16.7985, 9.1975, 13.2001)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2165 #219D59
analogous
#97219D #9D2165 #9D2127
triadic
#9D2165 #659D21 #21659D
tetradic
#9D2165 #9D9721 #219D59 #21279D
square
#9D2165 #9D9721 #219D59 #21279D
split-complementary
#9D2165 #279D21 #219D97
monochromatic
#380C24 #6A1644 #9D2165 #D02C86 #DD5CA2

Accessibility & contrast

On white

7.40
#9D2165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2165
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2165#FFFFFF#000000##FFFFFF
##9D21651.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394767
Deuteranopia (green-blind)
#5C5E62
Tritanopia (blue-blind)
#A91440
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2165;
/* rgb */ color: rgb(157, 33, 101);
/* oklch */ color: oklch(47.4% 0.170 352.4);
Tailwind
colors: {
  custom: {
    50: '#bf6a90',
    500: '#9d2165',
    950: '#000000',
  },
}
SCSS
$custom: #9d2165;
$custom-light: #bf6a90;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2165",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 327.097,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.16998,
    "h": 352.4
  },
  "luminance": 0.09195
}

Semantic roles & 50–950 ramp

primary
#9D2165
secondary
#59C188
accent
#E88C40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D2165

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

Preview Lab → · Contrast checker → · Palette generator →

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