#AD228E#AD228E

#AD228E is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.0% C 0.203 H 339.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AD228E
RGBrgb(173, 34, 142)
HSLhsl(313, 67%, 41%)
HSVhsv(313, 80%, 68%)
CMYKcmyk(0%, 80.3%, 17.9%, 32.2%)
CIE-LABlab(41.19, 63.66, -26.59)
CIE-LCHlch(41.19, 68.99, 337.33°)
OKLaboklab(52% 0.1897 -0.072)
OKLCHoklch(52% 0.203 339.2)
XYZxyz(22.6887, 11.9836, 26.7041)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD228E #22AD41
analogous
#8622AD #AD228E #AD2249
triadic
#AD228E #8EAD22 #228EAD
tetradic
#AD228E #AD8622 #22AD41 #2249AD
square
#AD228E #AD8622 #22AD41 #2249AD
split-complementary
#AD228E #49AD22 #22AD86
monochromatic
#470E3A #7A1864 #AD228E #D735B3 #E168C6

Accessibility & contrast

On white

6.18
#AD228E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AD228E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD228E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD228E#FFFFFF#000000##FFFFFF
##AD228E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#B72957
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad228e;
/* rgb */ color: rgb(173, 34, 142);
/* oklch */ color: oklch(52.0% 0.203 339.2);
Tailwind
colors: {
  custom: {
    50: '#ca6eaf',
    500: '#ad228e',
    950: '#000000',
  },
}
SCSS
$custom: #ad228e;
$custom-light: #ca6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad228e",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 313.381,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.20287,
    "h": 339.2
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#AD228E
secondary
#64C77A
accent
#EA643E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD228E

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

Preview Lab → · Contrast checker → · Palette generator →

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