#9D4971#9D4971

#9D4971 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.4% C 0.121 H 352.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9D4971
RGBrgb(157, 73, 113)
HSLhsl(331, 37%, 45%)
HSVhsv(331, 54%, 62%)
CMYKcmyk(0%, 53.5%, 28%, 38.4%)
CIE-LABlab(42.95, 39.61, -6.34)
CIE-LCHlch(42.95, 40.12, 350.91°)
OKLaboklab(52.4% 0.1198 -0.0163)
OKLCHoklch(52.4% 0.121 352.2)
XYZxyz(19.2685, 13.1272, 17.1386)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4971 #499D75
analogous
#9D499B #9D4971 #9D4B49
triadic
#9D4971 #719D49 #49719D
tetradic
#9D4971 #9B9D49 #499D75 #4B499D
square
#9D4971 #9B9D49 #499D75 #4B499D
split-complementary
#9D4971 #499D4B #499B9D
monochromatic
#492235 #733653 #9D4971 #BA6A90 #CD93AF

Accessibility & contrast

On white

5.79
#9D4971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9D4971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4971
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4971#FFFFFF#000000##FFFFFF
##9D49711.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#A74558
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d4971;
/* rgb */ color: rgb(157, 73, 113);
/* oklch */ color: oklch(52.4% 0.121 352.2);
Tailwind
colors: {
  custom: {
    50: '#bc7f99',
    500: '#9d4971',
    950: '#000000',
  },
}
SCSS
$custom: #9d4971;
$custom-light: #bc7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4971",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 331.429,
    "s": 36.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.524,
    "c": 0.1209,
    "h": 352.2
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#9D4971
secondary
#89B9A2
accent
#CD975B
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9D4971

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

Preview Lab → · Contrast checker → · Palette generator →

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