#9D2180#9D2180

#9D2180 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.186 H 339.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D2180
RGBrgb(157, 33, 128)
HSLhsl(314, 65%, 37%)
HSVhsv(314, 79%, 62%)
CMYKcmyk(0%, 79%, 18.5%, 38.4%)
CIE-LABlab(37.51, 58.31, -23.93)
CIE-LCHlch(37.51, 63.03, 337.69°)
OKLaboklab(48.6% 0.1739 -0.0647)
OKLCHoklch(48.6% 0.186 339.6)
XYZxyz(18.3453, 9.8162, 21.3465)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2180 #219D3E
analogous
#7C219D #9D2180 #9D2142
triadic
#9D2180 #809D21 #21809D
tetradic
#9D2180 #9D7C21 #219D3E #21429D
square
#9D2180 #9D7C21 #219D3E #21429D
split-complementary
#9D2180 #429D21 #219D7C
monochromatic
#380C2E #6A1657 #9D2180 #D02CA9 #DD5CBF

Accessibility & contrast

On white

7.09
#9D2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2180
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2180#FFFFFF#000000##FFFFFF
##9D21801.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#545F7D
Tritanopia (blue-blind)
#A6264F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2180;
/* rgb */ color: rgb(157, 33, 128);
/* oklch */ color: oklch(48.6% 0.186 339.6);
Tailwind
colors: {
  custom: {
    50: '#be6ba5',
    500: '#9d2180',
    950: '#000000',
  },
}
SCSS
$custom: #9d2180;
$custom-light: #be6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2180",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 314.032,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.18552,
    "h": 339.6
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#9D2180
secondary
#59C171
accent
#E86740
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D2180

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

Preview Lab → · Contrast checker → · Palette generator →

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