#9D2183#9D2183

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

Color values

HEX#9D2183
RGBrgb(157, 33, 131)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 79%, 16.6%, 38.4%)
CIE-LABlab(37.66, 58.73, -25.56)
CIE-LCHlch(37.66, 64.05, 336.48°)
OKLaboklab(48.75% 0.1742 -0.0694)
OKLCHoklch(48.75% 0.188 338.3)
XYZxyz(18.5457, 9.8963, 22.4018)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2183 #219D3B
analogous
#79219D #9D2183 #9D2145
triadic
#9D2183 #839D21 #21839D
tetradic
#9D2183 #9D7921 #219D3B #21459D
square
#9D2183 #9D7921 #219D3B #21459D
split-complementary
#9D2183 #459D21 #219D79
monochromatic
#380C2F #6A1659 #9D2183 #D02CAD #DD5CC2

Accessibility & contrast

On white

7.05
#9D2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2183
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2183#FFFFFF#000000##FFFFFF
##9D21831.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A62850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2183;
/* rgb */ color: rgb(157, 33, 131);
/* oklch */ color: oklch(48.7% 0.188 338.3);
Tailwind
colors: {
  custom: {
    50: '#be6ba7',
    500: '#9d2183',
    950: '#000000',
  },
}
SCSS
$custom: #9d2183;
$custom-light: #be6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2183",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 312.581,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.18751,
    "h": 338.3
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2183

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

Preview Lab → · Contrast checker → · Palette generator →

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