#AD287F#AD287F

#AD287F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.188 H 345.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AD287F
RGBrgb(173, 40, 127)
HSLhsl(321, 62%, 42%)
HSVhsv(321, 77%, 68%)
CMYKcmyk(0%, 76.9%, 26.6%, 32.2%)
CIE-LABlab(41.12, 59.99, -17.50)
CIE-LCHlch(41.12, 62.49, 343.74°)
OKLaboklab(51.73% 0.1821 -0.0465)
OKLCHoklch(51.73% 0.188 345.7)
XYZxyz(21.8241, 11.9365, 21.2292)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD287F #28AD56
analogous
#9928AD #AD287F #AD283D
triadic
#AD287F #7FAD28 #287FAD
tetradic
#AD287F #AD9928 #28AD56 #283DAD
square
#AD287F #AD9928 #28AD56 #283DAD
split-complementary
#AD287F #3DAD28 #28AD99
monochromatic
#4A1136 #7B1D5B #AD287F #D33FA0 #DE71B9

Accessibility & contrast

On white

6.20
#AD287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AD287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD287F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD287F#FFFFFF#000000##FFFFFF
##AD287F1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5381
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#B92550
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad287f;
/* rgb */ color: rgb(173, 40, 127);
/* oklch */ color: oklch(51.7% 0.188 345.7);
Tailwind
colors: {
  custom: {
    50: '#ca70a4',
    500: '#ad287f',
    950: '#000000',
  },
}
SCSS
$custom: #ad287f;
$custom-light: #ca70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad287f",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 320.752,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.18795,
    "h": 345.7
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#AD287F
secondary
#6CC58B
accent
#E67B42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AD287F

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

Preview Lab → · Contrast checker → · Palette generator →

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