#9D2A89#9D2A89

#9D2A89 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.182 H 335.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9D2A89
RGBrgb(157, 42, 137)
HSLhsl(310, 58%, 39%)
HSVhsv(310, 73%, 62%)
CMYKcmyk(0%, 73.2%, 12.7%, 38.4%)
CIE-LABlab(38.95, 56.75, -27.23)
CIE-LCHlch(38.95, 62.95, 334.37°)
OKLaboklab(49.78% 0.1663 -0.0742)
OKLCHoklch(49.78% 0.182 335.9)
XYZxyz(19.2482, 10.6319, 24.7005)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2A89 #2A9D3E
analogous
#782A9D #9D2A89 #9D2A50
triadic
#9D2A89 #899D2A #2A899D
tetradic
#9D2A89 #9D782A #2A9D3E #2A509D
square
#9D2A89 #9D782A #2A9D3E #2A509D
split-complementary
#9D2A89 #509D2A #2A9D78
monochromatic
#3C1035 #6D1D5F #9D2A89 #CA3AB1 #D76AC4

Accessibility & contrast

On white

6.72
#9D2A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D2A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2A89
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2A89#FFFFFF#000000##FFFFFF
##9D2A891.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2a89;
/* rgb */ color: rgb(157, 42, 137);
/* oklch */ color: oklch(49.8% 0.182 335.9);
Tailwind
colors: {
  custom: {
    50: '#bd6fab',
    500: '#9d2a89',
    950: '#000000',
  },
}
SCSS
$custom: #9d2a89;
$custom-light: #bd6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2a89",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 310.435,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4978,
    "c": 0.18209,
    "h": 335.9
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#9D2A89
secondary
#65BE74
accent
#E16247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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