#AD218C#AD218C

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

Color values

HEX#AD218C
RGBrgb(173, 33, 140)
HSLhsl(314, 68%, 40%)
HSVhsv(314, 81%, 68%)
CMYKcmyk(0%, 80.9%, 19.1%, 32.2%)
CIE-LABlab(41.01, 63.65, -25.65)
CIE-LCHlch(41.01, 68.62, 338.05°)
OKLaboklab(51.84% 0.1902 -0.0694)
OKLCHoklch(51.84% 0.202 340)
XYZxyz(22.5117, 11.8677, 25.9110)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD218C #21AD42
analogous
#8821AD #AD218C #AD2146
triadic
#AD218C #8CAD21 #218CAD
tetradic
#AD218C #AD8821 #21AD42 #2146AD
square
#AD218C #AD8821 #21AD42 #2146AD
split-complementary
#AD218C #46AD21 #21AD88
monochromatic
#460D39 #7A1762 #AD218C #D833B1 #E266C5

Accessibility & contrast

On white

6.23
#AD218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD218C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD218C#FFFFFF#000000##FFFFFF
##AD218C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#5C6889
Tritanopia (blue-blind)
#B82756
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad218c;
/* rgb */ color: rgb(173, 33, 140);
/* oklch */ color: oklch(51.8% 0.202 340.0);
Tailwind
colors: {
  custom: {
    50: '#ca6eae',
    500: '#ad218c',
    950: '#000000',
  },
}
SCSS
$custom: #ad218c;
$custom-light: #ca6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ad218c",
  "rgb": {
    "r": 173,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 314.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.20247,
    "h": 340
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#AD218C
secondary
#62C77A
accent
#EB663D
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD218C

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

Preview Lab → · Contrast checker → · Palette generator →

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