#9D2886#9D2886

#9D2886 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.182 H 337.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2886
RGBrgb(157, 40, 134)
HSLhsl(312, 59%, 39%)
HSVhsv(312, 75%, 62%)
CMYKcmyk(0%, 74.5%, 14.6%, 38.4%)
CIE-LABlab(38.57, 56.98, -25.99)
CIE-LCHlch(38.57, 62.63, 335.48°)
OKLaboklab(49.45% 0.168 -0.0707)
OKLCHoklch(49.45% 0.182 337.2)
XYZxyz(18.9669, 10.4087, 23.5598)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2886 #289D3F
analogous
#79289D #9D2886 #9D284B
triadic
#9D2886 #869D28 #28869D
tetradic
#9D2886 #9D7928 #289D3F #284B9D
square
#9D2886 #9D7928 #289D3F #284B9D
split-complementary
#9D2886 #4B9D28 #289D79
monochromatic
#3B0F33 #6C1C5C #9D2886 #CC36AE #D867C2

Accessibility & contrast

On white

6.82
#9D2886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2886
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2886#FFFFFF#000000##FFFFFF
##9D28861.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F89
Deuteranopia (green-blind)
#546183
Tritanopia (blue-blind)
#A62F54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2886;
/* rgb */ color: rgb(157, 40, 134);
/* oklch */ color: oklch(49.5% 0.182 337.2);
Tailwind
colors: {
  custom: {
    50: '#be6ea9',
    500: '#9d2886',
    950: '#000000',
  },
}
SCSS
$custom: #9d2886;
$custom-light: #be6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2886",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 311.795,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.18224,
    "h": 337.2
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#9D2886
secondary
#62BE74
accent
#E36445
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2886

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

Preview Lab → · Contrast checker → · Palette generator →

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