#9D2187#9D2187

#9D2187 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.0% C 0.190 H 336.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9D2187
RGBrgb(157, 33, 135)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 62%)
CMYKcmyk(0%, 79%, 14%, 38.4%)
CIE-LABlab(37.85, 59.30, -27.72)
CIE-LCHlch(37.85, 65.46, 334.95°)
OKLaboklab(48.96% 0.1746 -0.0756)
OKLCHoklch(48.96% 0.19 336.6)
XYZxyz(18.8220, 10.0069, 23.8572)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2187 #219D37
analogous
#75219D #9D2187 #9D2149
triadic
#9D2187 #879D21 #21879D
tetradic
#9D2187 #9D7521 #219D37 #21499D
square
#9D2187 #9D7521 #219D37 #21499D
split-complementary
#9D2187 #499D21 #219D75
monochromatic
#380C30 #6A165C #9D2187 #D02CB2 #DD5CC6

Accessibility & contrast

On white

7.00
#9D2187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9D2187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2187
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2187#FFFFFF#000000##FFFFFF
##9D21871.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A62A53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2187;
/* rgb */ color: rgb(157, 33, 135);
/* oklch */ color: oklch(49.0% 0.190 336.6);
Tailwind
colors: {
  custom: {
    50: '#be6baa',
    500: '#9d2187',
    950: '#000000',
  },
}
SCSS
$custom: #9d2187;
$custom-light: #be6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2187",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 310.645,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.19022,
    "h": 336.6
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#9D2187
secondary
#59C16B
accent
#E85D40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2187

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

Preview Lab → · Contrast checker → · Palette generator →

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