#9D2A82#9D2A82

#9D2A82 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.177 H 339.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D2A82
RGBrgb(157, 42, 130)
HSLhsl(314, 58%, 39%)
HSVhsv(314, 73%, 62%)
CMYKcmyk(0%, 73.2%, 17.2%, 38.4%)
CIE-LABlab(38.62, 55.71, -23.44)
CIE-LCHlch(38.62, 60.45, 337.18°)
OKLaboklab(49.43% 0.1654 -0.0634)
OKLCHoklch(49.43% 0.177 339)
XYZxyz(18.7623, 10.4375, 22.1413)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A82 #2A9D45
analogous
#7F2A9D #9D2A82 #9D2A49
triadic
#9D2A82 #829D2A #2A829D
tetradic
#9D2A82 #9D7F2A #2A9D45 #2A499D
square
#9D2A82 #9D7F2A #2A9D45 #2A499D
split-complementary
#9D2A82 #499D2A #2A9D7F
monochromatic
#3C1032 #6D1D5A #9D2A82 #CA3AA8 #D76ABE

Accessibility & contrast

On white

6.80
#9D2A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A82
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A82#FFFFFF#000000##FFFFFF
##9D2A821.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#A62F53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2a82;
/* rgb */ color: rgb(157, 42, 130);
/* oklch */ color: oklch(49.4% 0.177 339.0);
Tailwind
colors: {
  custom: {
    50: '#be6fa6',
    500: '#9d2a82',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a82;
$custom-light: #be6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a82",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 314.087,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.17716,
    "h": 339
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#9D2A82
secondary
#65BE7A
accent
#E16B47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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