#AD287D#AD287D

#AD287D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.187 H 346.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AD287D
RGBrgb(173, 40, 125)
HSLhsl(322, 62%, 42%)
HSVhsv(322, 77%, 68%)
CMYKcmyk(0%, 76.9%, 27.7%, 32.2%)
CIE-LABlab(41.03, 59.74, -16.39)
CIE-LCHlch(41.03, 61.95, 344.66°)
OKLaboklab(51.64% 0.1817 -0.0434)
OKLCHoklch(51.64% 0.187 346.6)
XYZxyz(21.6951, 11.8849, 20.5496)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD287D #28AD58
analogous
#9B28AD #AD287D #AD283B
triadic
#AD287D #7DAD28 #287DAD
tetradic
#AD287D #AD9B28 #28AD58 #283BAD
square
#AD287D #AD9B28 #28AD58 #283BAD
split-complementary
#AD287D #3BAD28 #28AD9B
monochromatic
#4A1135 #7B1D59 #AD287D #D33F9E #DE71B7

Accessibility & contrast

On white

6.22
#AD287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AD287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD287D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD287D#FFFFFF#000000##FFFFFF
##AD287D1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B9244F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad287d;
/* rgb */ color: rgb(173, 40, 125);
/* oklch */ color: oklch(51.6% 0.187 346.6);
Tailwind
colors: {
  custom: {
    50: '#ca70a2',
    500: '#ad287d',
    950: '#000000',
  },
}
SCSS
$custom: #ad287d;
$custom-light: #ca70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad287d",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 321.654,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.18681,
    "h": 346.6
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#AD287D
secondary
#6CC58C
accent
#E67D42
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AD287D

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

Preview Lab → · Contrast checker → · Palette generator →

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