#9D2173#9D2173

#9D2173 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.177 H 345.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9D2173
RGBrgb(157, 33, 115)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 79%, 26.8%, 38.4%)
CIE-LABlab(36.92, 56.58, -16.71)
CIE-LCHlch(36.92, 58.99, 343.54°)
OKLaboklab(47.98% 0.1718 -0.0444)
OKLCHoklch(47.98% 0.177 345.5)
XYZxyz(17.5438, 9.4956, 17.1253)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2173 #219D4B
analogous
#89219D #9D2173 #9D2135
triadic
#9D2173 #739D21 #21739D
tetradic
#9D2173 #9D8921 #219D4B #21359D
square
#9D2173 #9D8921 #219D4B #21359D
split-complementary
#9D2173 #359D21 #219D89
monochromatic
#380C29 #6A164E #9D2173 #D02C98 #DD5CB1

Accessibility & contrast

On white

7.24
#9D2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2173
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2173#FFFFFF#000000##FFFFFF
##9D21731.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A75
Deuteranopia (green-blind)
#585E70
Tritanopia (blue-blind)
#A81E48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2173;
/* rgb */ color: rgb(157, 33, 115);
/* oklch */ color: oklch(48.0% 0.177 345.5);
Tailwind
colors: {
  custom: {
    50: '#be6b9b',
    500: '#9d2173',
    950: '#000000',
  },
}
SCSS
$custom: #9d2173;
$custom-light: #be6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2173",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 320.323,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.17743,
    "h": 345.5
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#9D2173
secondary
#59C17C
accent
#E87940
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2173

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

Preview Lab → · Contrast checker → · Palette generator →

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