#9D2972#9D2972

#9D2972 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.168 H 346.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D2972
RGBrgb(157, 41, 114)
HSLhsl(322, 59%, 39%)
HSVhsv(322, 74%, 62%)
CMYKcmyk(0%, 73.9%, 27.4%, 38.4%)
CIE-LABlab(37.79, 53.87, -14.76)
CIE-LCHlch(37.79, 55.85, 344.68°)
OKLaboklab(48.6% 0.1636 -0.039)
OKLCHoklch(48.6% 0.168 346.6)
XYZxyz(17.7356, 9.9708, 16.9069)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2972 #299D54
analogous
#8E299D #9D2972 #9D2938
triadic
#9D2972 #729D29 #29729D
tetradic
#9D2972 #9D8E29 #299D54 #29389D
square
#9D2972 #9D8E29 #299D54 #29389D
split-complementary
#9D2972 #389D29 #299D8E
monochromatic
#3C102C #6C1C4F #9D2972 #CB3895 #D869AF

Accessibility & contrast

On white

7.01
#9D2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2972
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2972#FFFFFF#000000##FFFFFF
##9D29721.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#A8264A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2972;
/* rgb */ color: rgb(157, 41, 114);
/* oklch */ color: oklch(48.6% 0.168 346.6);
Tailwind
colors: {
  custom: {
    50: '#be6e9a',
    500: '#9d2972',
    950: '#000000',
  },
}
SCSS
$custom: #9d2972;
$custom-light: #be6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2972",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 322.241,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.16815,
    "h": 346.6
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#9D2972
secondary
#64BE85
accent
#E28046
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2972

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

Preview Lab → · Contrast checker → · Palette generator →

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