#9D2A4D#9D2A4D

#9D2A4D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.152 H 7.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9D2A4D
RGBrgb(157, 42, 77)
HSLhsl(342, 58%, 39%)
HSVhsv(342, 73%, 62%)
CMYKcmyk(0%, 73.2%, 51%, 38.4%)
CIE-LABlab(36.67, 49.46, 7.12)
CIE-LCHlch(36.67, 49.97, 8.19°)
OKLaboklab(47.37% 0.1508 0.0185)
OKLCHoklch(47.37% 0.152 7)
XYZxyz(16.0735, 9.3620, 7.9804)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A4D #2A9D7A
analogous
#9D2A87 #9D2A4D #9D412A
triadic
#9D2A4D #4D9D2A #2A4D9D
tetradic
#9D2A4D #879D2A #2A9D7A #412A9D
square
#9D2A4D #879D2A #2A9D7A #412A9D
split-complementary
#9D2A4D #2A9D41 #2A879D
monochromatic
#3C101E #6D1D35 #9D2A4D #CA3A66 #D76A8B

Accessibility & contrast

On white

7.31
#9D2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9D2A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2A4D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A4D#FFFFFF#000000##FFFFFF
##9D2A4D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484E
Deuteranopia (green-blind)
#645F4A
Tritanopia (blue-blind)
#AB1238
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2a4d;
/* rgb */ color: rgb(157, 42, 77);
/* oklch */ color: oklch(47.4% 0.152 7.0);
Tailwind
colors: {
  custom: {
    50: '#bf6d7e',
    500: '#9d2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a4d;
$custom-light: #bf6d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a4d",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 341.739,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47367,
    "c": 0.15192,
    "h": 7
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#9D2A4D
secondary
#65BEA3
accent
#E1B247
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9D2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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