#9D2A84#9D2A84

#9D2A84 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.179 H 338.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D2A84
RGBrgb(157, 42, 132)
HSLhsl(313, 58%, 39%)
HSVhsv(313, 73%, 62%)
CMYKcmyk(0%, 73.2%, 15.9%, 38.4%)
CIE-LABlab(38.71, 56.01, -24.53)
CIE-LCHlch(38.71, 61.14, 336.35°)
OKLaboklab(49.53% 0.1657 -0.0665)
OKLCHoklch(49.53% 0.179 338.1)
XYZxyz(18.8979, 10.4917, 22.8552)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A84 #2A9D43
analogous
#7D2A9D #9D2A84 #9D2A4B
triadic
#9D2A84 #849D2A #2A849D
tetradic
#9D2A84 #9D7D2A #2A9D43 #2A4B9D
square
#9D2A84 #9D7D2A #2A9D43 #2A4B9D
split-complementary
#9D2A84 #4B9D2A #2A9D7D
monochromatic
#3C1033 #6D1D5B #9D2A84 #CA3AAB #D76AC0

Accessibility & contrast

On white

6.78
#9D2A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A84
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A84#FFFFFF#000000##FFFFFF
##9D2A841.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5086
Deuteranopia (green-blind)
#556281
Tritanopia (blue-blind)
#A63054
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2a84;
/* rgb */ color: rgb(157, 42, 132);
/* oklch */ color: oklch(49.5% 0.179 338.1);
Tailwind
colors: {
  custom: {
    50: '#bd6fa8',
    500: '#9d2a84',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a84;
$custom-light: #bd6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a84",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 313.043,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.17855,
    "h": 338.1
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#9D2A84
secondary
#65BE78
accent
#E16847
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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