#9D2471#9D2471

#9D2471 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 346.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D2471
RGBrgb(157, 36, 113)
HSLhsl(322, 63%, 38%)
HSVhsv(322, 77%, 62%)
CMYKcmyk(0%, 77.1%, 28%, 38.4%)
CIE-LABlab(37.16, 55.41, -15.09)
CIE-LCHlch(37.16, 57.42, 344.76°)
OKLaboklab(48.12% 0.1685 -0.0399)
OKLCHoklch(48.12% 0.173 346.7)
XYZxyz(17.5170, 9.6241, 16.5547)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2471 #249D50
analogous
#8C249D #9D2471 #9D2435
triadic
#9D2471 #719D24 #24719D
tetradic
#9D2471 #9D8C24 #249D50 #24359D
square
#9D2471 #9D8C24 #249D50 #24359D
split-complementary
#9D2471 #359D24 #249D8C
monochromatic
#390D29 #6B194D #9D2471 #CF2F95 #DB61AE

Accessibility & contrast

On white

7.18
#9D2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2471
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2471#FFFFFF#000000##FFFFFF
##9D24711.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A82048
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2471;
/* rgb */ color: rgb(157, 36, 113);
/* oklch */ color: oklch(48.1% 0.173 346.7);
Tailwind
colors: {
  custom: {
    50: '#be6c9a',
    500: '#9d2471',
    950: '#000000',
  },
}
SCSS
$custom: #9d2471;
$custom-light: #be6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2471",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 321.818,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48123,
    "c": 0.17319,
    "h": 346.7
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#9D2471
secondary
#5DC081
accent
#E67E42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2471

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

Preview Lab → · Contrast checker → · Palette generator →

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