#9D2182#9D2182

#9D2182 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.187 H 338.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2182
RGBrgb(157, 33, 130)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 79%, 17.2%, 38.4%)
CIE-LABlab(37.61, 58.59, -25.02)
CIE-LCHlch(37.61, 63.71, 336.88°)
OKLaboklab(48.7% 0.1741 -0.0678)
OKLCHoklch(48.7% 0.187 338.7)
XYZxyz(18.4782, 9.8693, 22.0466)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2182 #219D3C
analogous
#7A219D #9D2182 #9D2144
triadic
#9D2182 #829D21 #21829D
tetradic
#9D2182 #9D7A21 #219D3C #21449D
square
#9D2182 #9D7A21 #219D3C #21449D
split-complementary
#9D2182 #449D21 #219D7A
monochromatic
#380C2E #6A1658 #9D2182 #D02CAC #DD5CC1

Accessibility & contrast

On white

7.06
#9D2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2182
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2182#FFFFFF#000000##FFFFFF
##9D21821.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#A62750
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2182;
/* rgb */ color: rgb(157, 33, 130);
/* oklch */ color: oklch(48.7% 0.187 338.7);
Tailwind
colors: {
  custom: {
    50: '#be6ba6',
    500: '#9d2182',
    950: '#000000',
  },
}
SCSS
$custom: #9d2182;
$custom-light: #be6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2182",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 313.065,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.18684,
    "h": 338.7
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#9D2182
secondary
#59C16F
accent
#E86440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D2182

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

Preview Lab → · Contrast checker → · Palette generator →

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