#9D2A76#9D2A76

#9D2A76 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.169 H 344.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9D2A76
RGBrgb(157, 42, 118)
HSLhsl(320, 58%, 39%)
HSVhsv(320, 73%, 62%)
CMYKcmyk(0%, 73.2%, 24.8%, 38.4%)
CIE-LABlab(38.08, 54.04, -16.81)
CIE-LCHlch(38.08, 56.59, 342.72°)
OKLaboklab(48.86% 0.1633 -0.0448)
OKLCHoklch(48.86% 0.169 344.7)
XYZxyz(18.0033, 10.1339, 18.1440)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A76 #2A9D51
analogous
#8B2A9D #9D2A76 #9D2A3D
triadic
#9D2A76 #769D2A #2A769D
tetradic
#9D2A76 #9D8B2A #2A9D51 #2A3D9D
square
#9D2A76 #9D8B2A #2A9D51 #2A3D9D
split-complementary
#9D2A76 #3D9D2A #2A9D8B
monochromatic
#3C102D #6D1D52 #9D2A76 #CA3A99 #D76AB2

Accessibility & contrast

On white

6.94
#9D2A76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D2A76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A76
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A76#FFFFFF#000000##FFFFFF
##9D2A761.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#5A6173
Tritanopia (blue-blind)
#A8294C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2a76;
/* rgb */ color: rgb(157, 42, 118);
/* oklch */ color: oklch(48.9% 0.169 344.7);
Tailwind
colors: {
  custom: {
    50: '#be6e9d',
    500: '#9d2a76',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a76;
$custom-light: #be6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a76",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 320.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48863,
    "c": 0.16935,
    "h": 344.7
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#9D2A76
secondary
#65BE83
accent
#E17B47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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