#9D2472#9D2472

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

Color values

HEX#9D2472
RGBrgb(157, 36, 114)
HSLhsl(321, 63%, 38%)
HSVhsv(321, 77%, 62%)
CMYKcmyk(0%, 77.1%, 27.4%, 38.4%)
CIE-LABlab(37.20, 55.53, -15.66)
CIE-LCHlch(37.20, 57.70, 344.25°)
OKLaboklab(48.17% 0.1687 -0.0415)
OKLCHoklch(48.17% 0.174 346.2)
XYZxyz(17.5736, 9.6467, 16.8529)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2472 #249D4F
analogous
#8B249D #9D2472 #9D2436
triadic
#9D2472 #729D24 #24729D
tetradic
#9D2472 #9D8B24 #249D4F #24369D
square
#9D2472 #9D8B24 #249D4F #24369D
split-complementary
#9D2472 #369D24 #249D8B
monochromatic
#390D2A #6B194E #9D2472 #CF2F96 #DB61AF

Accessibility & contrast

On white

7.17
#9D2472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D2472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2472
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2472#FFFFFF#000000##FFFFFF
##9D24721.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#A82048
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2472;
/* rgb */ color: rgb(157, 36, 114);
/* oklch */ color: oklch(48.2% 0.174 346.2);
Tailwind
colors: {
  custom: {
    50: '#be6c9a',
    500: '#9d2472',
    950: '#000000',
  },
}
SCSS
$custom: #9d2472;
$custom-light: #be6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2472",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 321.322,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48167,
    "c": 0.17376,
    "h": 346.2
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#9D2472
secondary
#5DC080
accent
#E67C42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2472

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

Preview Lab → · Contrast checker → · Palette generator →

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