#9D2986#9D2986

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

Color values

HEX#9D2986
RGBrgb(157, 41, 134)
HSLhsl(312, 59%, 39%)
HSVhsv(312, 74%, 62%)
CMYKcmyk(0%, 73.9%, 14.6%, 38.4%)
CIE-LABlab(38.69, 56.65, -25.80)
CIE-LCHlch(38.69, 62.25, 335.51°)
OKLaboklab(49.54% 0.167 -0.0701)
OKLCHoklch(49.54% 0.181 337.2)
XYZxyz(19.0010, 10.4770, 23.5712)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2986 #299D40
analogous
#7A299D #9D2986 #9D294C
triadic
#9D2986 #869D29 #29869D
tetradic
#9D2986 #9D7A29 #299D40 #294C9D
square
#9D2986 #9D7A29 #299D40 #294C9D
split-complementary
#9D2986 #4C9D29 #299D7A
monochromatic
#3C1033 #6C1C5D #9D2986 #CB38AE #D869C2

Accessibility & contrast

On white

6.79
#9D2986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2986
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2986#FFFFFF#000000##FFFFFF
##9D29861.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2986;
/* rgb */ color: rgb(157, 41, 134);
/* oklch */ color: oklch(49.5% 0.181 337.2);
Tailwind
colors: {
  custom: {
    50: '#bd6ea9',
    500: '#9d2986',
    950: '#000000',
  },
}
SCSS
$custom: #9d2986;
$custom-light: #bd6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2986",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 311.897,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.18111,
    "h": 337.2
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#9D2986
secondary
#64BE76
accent
#E26546
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D2986

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

Preview Lab → · Contrast checker → · Palette generator →

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