#9D2371#9D2371

#9D2371 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.174 H 346.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9D2371
RGBrgb(157, 35, 113)
HSLhsl(322, 64%, 38%)
HSVhsv(322, 78%, 62%)
CMYKcmyk(0%, 77.7%, 28%, 38.4%)
CIE-LABlab(37.05, 55.72, -15.26)
CIE-LCHlch(37.05, 57.77, 344.68°)
OKLaboklab(48.04% 0.1695 -0.0404)
OKLCHoklch(48.04% 0.174 346.6)
XYZxyz(17.4871, 9.5644, 16.5448)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2371 #239D4F
analogous
#8C239D #9D2371 #9D2334
triadic
#9D2371 #719D23 #23719D
tetradic
#9D2371 #9D8C23 #239D4F #23349D
square
#9D2371 #9D8C23 #239D4F #23349D
split-complementary
#9D2371 #349D23 #239D8C
monochromatic
#390D29 #6B184D #9D2371 #CF2E95 #DB5FAF

Accessibility & contrast

On white

7.21
#9D2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2371
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2371#FFFFFF#000000##FFFFFF
##9D23711.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#A81F47
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2371;
/* rgb */ color: rgb(157, 35, 113);
/* oklch */ color: oklch(48.0% 0.174 346.6);
Tailwind
colors: {
  custom: {
    50: '#be6b9a',
    500: '#9d2371',
    950: '#000000',
  },
}
SCSS
$custom: #9d2371;
$custom-light: #be6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2371",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 321.639,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.17424,
    "h": 346.6
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#9D2371
secondary
#5CC080
accent
#E77D41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2371

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

Preview Lab → · Contrast checker → · Palette generator →

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