#AD2987#AD2987

#AD2987 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.192 H 342.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AD2987
RGBrgb(173, 41, 135)
HSLhsl(317, 62%, 42%)
HSVhsv(317, 76%, 68%)
CMYKcmyk(0%, 76.3%, 22%, 32.2%)
CIE-LABlab(41.57, 60.72, -21.72)
CIE-LCHlch(41.57, 64.48, 340.31°)
OKLaboklab(52.17% 0.1826 -0.0583)
OKLCHoklch(52.17% 0.192 342.3)
XYZxyz(22.4005, 12.2217, 24.0963)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2987 #29AD4F
analogous
#9129AD #AD2987 #AD2945
triadic
#AD2987 #87AD29 #2987AD
tetradic
#AD2987 #AD9129 #29AD4F #2945AD
square
#AD2987 #AD9129 #29AD4F #2945AD
split-complementary
#AD2987 #45AD29 #29AD91
monochromatic
#4A123A #7C1D60 #AD2987 #D241A8 #DE73BF

Accessibility & contrast

On white

6.10
#AD2987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AD2987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2987
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2987#FFFFFF#000000##FFFFFF
##AD29871.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36548A
Deuteranopia (green-blind)
#606A84
Tritanopia (blue-blind)
#B82A55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad2987;
/* rgb */ color: rgb(173, 41, 135);
/* oklch */ color: oklch(52.2% 0.192 342.3);
Tailwind
colors: {
  custom: {
    50: '#ca71aa',
    500: '#ad2987',
    950: '#000000',
  },
}
SCSS
$custom: #ad2987;
$custom-light: #ca71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2987",
  "rgb": {
    "r": 173,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 317.273,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.19169,
    "h": 342.3
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#AD2987
secondary
#6DC586
accent
#E57243
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD2987

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

Preview Lab → · Contrast checker → · Palette generator →

#AD2987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva