#AD218E#AD218E

#AD218E is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.204 H 339.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AD218E
RGBrgb(173, 33, 142)
HSLhsl(313, 68%, 40%)
HSVhsv(313, 81%, 68%)
CMYKcmyk(0%, 80.9%, 17.9%, 32.2%)
CIE-LABlab(41.10, 63.92, -26.73)
CIE-LCHlch(41.10, 69.28, 337.31°)
OKLaboklab(51.94% 0.1904 -0.0724)
OKLCHoklch(51.94% 0.204 339.2)
XYZxyz(22.6606, 11.9272, 26.6947)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD218E #21AD40
analogous
#8621AD #AD218E #AD2148
triadic
#AD218E #8EAD21 #218EAD
tetradic
#AD218E #AD8621 #21AD40 #2148AD
square
#AD218E #AD8621 #21AD40 #2148AD
split-complementary
#AD218E #48AD21 #21AD86
monochromatic
#460D3A #7A1764 #AD218E #D833B4 #E266C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD218E#FFFFFF#000000##FFFFFF
##AD218E1.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)
#2B5391
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#B72857
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad218e;
/* rgb */ color: rgb(173, 33, 142);
/* oklch */ color: oklch(51.9% 0.204 339.2);
Tailwind
colors: {
  custom: {
    50: '#ca6eaf',
    500: '#ad218e',
    950: '#000000',
  },
}
SCSS
$custom: #ad218e;
$custom-light: #ca6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad218e",
  "rgb": {
    "r": 173,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 313.286,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.20374,
    "h": 339.2
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#AD218E
secondary
#62C779
accent
#EB633D
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD218E

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

Preview Lab → · Contrast checker → · Palette generator →

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