#AD2887#AD2887

#AD2887 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.193 H 342.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AD2887
RGBrgb(173, 40, 135)
HSLhsl(317, 62%, 42%)
HSVhsv(317, 77%, 68%)
CMYKcmyk(0%, 76.9%, 22%, 32.2%)
CIE-LABlab(41.46, 61.02, -21.89)
CIE-LCHlch(41.46, 64.83, 340.27°)
OKLaboklab(52.09% 0.1835 -0.0588)
OKLCHoklch(52.09% 0.193 342.2)
XYZxyz(22.3663, 12.1534, 24.0849)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2887 #28AD4E
analogous
#9128AD #AD2887 #AD2845
triadic
#AD2887 #87AD28 #2887AD
tetradic
#AD2887 #AD9128 #28AD4E #2845AD
square
#AD2887 #AD9128 #28AD4E #2845AD
split-complementary
#AD2887 #45AD28 #28AD91
monochromatic
#4A1139 #7B1D60 #AD2887 #D33FA9 #DE71BF

Accessibility & contrast

On white

6.12
#AD2887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AD2887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2887
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2887#FFFFFF#000000##FFFFFF
##AD28871.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.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: #ad2887;
/* rgb */ color: rgb(173, 40, 135);
/* oklch */ color: oklch(52.1% 0.193 342.2);
Tailwind
colors: {
  custom: {
    50: '#ca70aa',
    500: '#ad2887',
    950: '#000000',
  },
}
SCSS
$custom: #ad2887;
$custom-light: #ca70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2887",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 317.143,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.19272,
    "h": 342.2
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#AD2887
secondary
#6CC585
accent
#E67142
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD2887

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

Preview Lab → · Contrast checker → · Palette generator →

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