#AD218B#AD218B

#AD218B is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.202 H 340.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AD218B
RGBrgb(173, 33, 139)
HSLhsl(315, 68%, 40%)
HSVhsv(315, 81%, 68%)
CMYKcmyk(0%, 80.9%, 19.7%, 32.2%)
CIE-LABlab(40.96, 63.51, -25.11)
CIE-LCHlch(40.96, 68.30, 338.42°)
OKLaboklab(51.79% 0.1901 -0.0678)
OKLCHoklch(51.79% 0.202 340.4)
XYZxyz(22.4383, 11.8384, 25.5244)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD218B #21AD43
analogous
#8921AD #AD218B #AD2145
triadic
#AD218B #8BAD21 #218BAD
tetradic
#AD218B #AD8921 #21AD43 #2145AD
square
#AD218B #AD8921 #21AD43 #2145AD
split-complementary
#AD218B #45AD21 #21AD89
monochromatic
#460D38 #7A1762 #AD218B #D833B0 #E266C4

Accessibility & contrast

On white

6.24
#AD218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AD218B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD218B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD218B#FFFFFF#000000##FFFFFF
##AD218B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528E
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#B82655
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad218b;
/* rgb */ color: rgb(173, 33, 139);
/* oklch */ color: oklch(51.8% 0.202 340.4);
Tailwind
colors: {
  custom: {
    50: '#ca6ead',
    500: '#ad218b',
    950: '#000000',
  },
}
SCSS
$custom: #ad218b;
$custom-light: #ca6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#ad218b",
  "rgb": {
    "r": 173,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 314.571,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.20184,
    "h": 340.4
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#AD218B
secondary
#62C77B
accent
#EB673D
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD218B

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

Preview Lab → · Contrast checker → · Palette generator →

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