#9D2170#9D2170

#9D2170 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 346.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D2170
RGBrgb(157, 33, 112)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 62%)
CMYKcmyk(0%, 79%, 28.7%, 38.4%)
CIE-LABlab(36.79, 56.20, -15.02)
CIE-LCHlch(36.79, 58.17, 345.04°)
OKLaboklab(47.85% 0.1712 -0.0397)
OKLCHoklch(47.85% 0.176 346.9)
XYZxyz(17.3740, 9.4276, 16.2309)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2170 #219D4E
analogous
#8C219D #9D2170 #9D2132
triadic
#9D2170 #709D21 #21709D
tetradic
#9D2170 #9D8C21 #219D4E #21329D
square
#9D2170 #9D8C21 #219D4E #21329D
split-complementary
#9D2170 #329D21 #219D8C
monochromatic
#380C28 #6A164C #9D2170 #D02C94 #DD5CAE

Accessibility & contrast

On white

7.28
#9D2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2170
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2170#FFFFFF#000000##FFFFFF
##9D21701.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344972
Deuteranopia (green-blind)
#595E6D
Tritanopia (blue-blind)
#A81C46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2170;
/* rgb */ color: rgb(157, 33, 112);
/* oklch */ color: oklch(47.8% 0.176 346.9);
Tailwind
colors: {
  custom: {
    50: '#be6a99',
    500: '#9d2170',
    950: '#000000',
  },
}
SCSS
$custom: #9d2170;
$custom-light: #be6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2170",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 321.774,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.17572,
    "h": 346.9
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#9D2170
secondary
#59C17F
accent
#E87D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2170

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

Preview Lab → · Contrast checker → · Palette generator →

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