#9D2A80#9D2A80

#9D2A80 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.176 H 339.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9D2A80
RGBrgb(157, 42, 128)
HSLhsl(315, 58%, 39%)
HSVhsv(315, 73%, 62%)
CMYKcmyk(0%, 73.2%, 18.5%, 38.4%)
CIE-LABlab(38.52, 55.43, -22.35)
CIE-LCHlch(38.52, 59.76, 338.04°)
OKLaboklab(49.33% 0.1651 -0.0603)
OKLCHoklch(49.33% 0.176 339.9)
XYZxyz(18.6294, 10.3843, 21.4412)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A80 #2A9D47
analogous
#812A9D #9D2A80 #9D2A47
triadic
#9D2A80 #809D2A #2A809D
tetradic
#9D2A80 #9D812A #2A9D47 #2A479D
square
#9D2A80 #9D812A #2A9D47 #2A479D
split-complementary
#9D2A80 #479D2A #2A9D81
monochromatic
#3C1031 #6D1D59 #9D2A80 #CA3AA6 #D76ABC

Accessibility & contrast

On white

6.83
#9D2A80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2A80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A80
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A80#FFFFFF#000000##FFFFFF
##9D2A801.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F82
Deuteranopia (green-blind)
#57617D
Tritanopia (blue-blind)
#A62E51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2a80;
/* rgb */ color: rgb(157, 42, 128);
/* oklch */ color: oklch(49.3% 0.176 339.9);
Tailwind
colors: {
  custom: {
    50: '#be6fa5',
    500: '#9d2a80',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a80;
$custom-light: #be6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a80",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 315.13,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.1758,
    "h": 339.9
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#9D2A80
secondary
#65BE7B
accent
#E16E47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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