#9D2A88#9D2A88

#9D2A88 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.181 H 336.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9D2A88
RGBrgb(157, 42, 136)
HSLhsl(311, 58%, 39%)
HSVhsv(311, 73%, 62%)
CMYKcmyk(0%, 73.2%, 13.4%, 38.4%)
CIE-LABlab(38.90, 56.60, -26.69)
CIE-LCHlch(38.90, 62.58, 334.75°)
OKLaboklab(49.73% 0.1662 -0.0727)
OKLCHoklch(49.73% 0.181 336.4)
XYZxyz(19.1768, 10.6033, 24.3245)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A88 #2A9D3F
analogous
#792A9D #9D2A88 #9D2A4E
triadic
#9D2A88 #889D2A #2A889D
tetradic
#9D2A88 #9D792A #2A9D3F #2A4E9D
square
#9D2A88 #9D792A #2A9D3F #2A4E9D
split-complementary
#9D2A88 #4E9D2A #2A9D79
monochromatic
#3C1034 #6D1D5E #9D2A88 #CA3AB0 #D76AC3

Accessibility & contrast

On white

6.73
#9D2A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D2A88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A88
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A88#FFFFFF#000000##FFFFFF
##9D2A881.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508B
Deuteranopia (green-blind)
#546285
Tritanopia (blue-blind)
#A53256
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2a88;
/* rgb */ color: rgb(157, 42, 136);
/* oklch */ color: oklch(49.7% 0.181 336.4);
Tailwind
colors: {
  custom: {
    50: '#bd6fab',
    500: '#9d2a88',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a88;
$custom-light: #bd6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a88",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 310.957,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49728,
    "c": 0.18136,
    "h": 336.4
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#9D2A88
secondary
#65BE75
accent
#E16347
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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