#AD2788#AD2788

#AD2788 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.194 H 341.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AD2788
RGBrgb(173, 39, 136)
HSLhsl(317, 63%, 42%)
HSVhsv(317, 77%, 68%)
CMYKcmyk(0%, 77.5%, 21.4%, 32.2%)
CIE-LABlab(41.40, 61.45, -22.59)
CIE-LCHlch(41.40, 65.48, 339.81°)
OKLaboklab(52.06% 0.1846 -0.0607)
OKLCHoklch(52.06% 0.194 341.8)
XYZxyz(22.4038, 12.1152, 24.4464)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2788 #27AD4C
analogous
#8F27AD #AD2788 #AD2745
triadic
#AD2788 #88AD27 #2788AD
tetradic
#AD2788 #AD8F27 #27AD4C #2745AD
square
#AD2788 #AD8F27 #27AD4C #2745AD
split-complementary
#AD2788 #45AD27 #27AD8F
monochromatic
#491039 #7B1C61 #AD2788 #D33EAA #DF70C0

Accessibility & contrast

On white

6.14
#AD2788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AD2788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2788
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2788#FFFFFF#000000##FFFFFF
##AD27881.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#5F6985
Tritanopia (blue-blind)
#B82955
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad2788;
/* rgb */ color: rgb(173, 39, 136);
/* oklch */ color: oklch(52.1% 0.194 341.8);
Tailwind
colors: {
  custom: {
    50: '#ca70ab',
    500: '#ad2788',
    950: '#000000',
  },
}
SCSS
$custom: #ad2788;
$custom-light: #ca70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2788",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 316.567,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.19436,
    "h": 341.8
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#AD2788
secondary
#6AC683
accent
#E66F42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD2788

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

Preview Lab → · Contrast checker → · Palette generator →

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