#AD228B#AD228B

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

Color values

HEX#AD228B
RGBrgb(173, 34, 139)
HSLhsl(315, 67%, 41%)
HSVhsv(315, 80%, 68%)
CMYKcmyk(0%, 80.3%, 19.7%, 32.2%)
CIE-LABlab(41.05, 63.25, -24.97)
CIE-LCHlch(41.05, 68.00, 338.45°)
OKLaboklab(51.86% 0.1893 -0.0675)
OKLCHoklch(51.86% 0.201 340.4)
XYZxyz(22.4665, 11.8947, 25.5338)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD228B #22AD44
analogous
#8922AD #AD228B #AD2246
triadic
#AD228B #8BAD22 #228BAD
tetradic
#AD228B #AD8922 #22AD44 #2246AD
square
#AD228B #AD8922 #22AD44 #2246AD
split-complementary
#AD228B #46AD22 #22AD89
monochromatic
#470E39 #7A1862 #AD228B #D735B0 #E168C4

Accessibility & contrast

On white

6.22
#AD228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AD228B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD228B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD228B#FFFFFF#000000##FFFFFF
##AD228B1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B82755
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad228b;
/* rgb */ color: rgb(173, 34, 139);
/* oklch */ color: oklch(51.9% 0.201 340.4);
Tailwind
colors: {
  custom: {
    50: '#ca6ead',
    500: '#ad228b',
    950: '#000000',
  },
}
SCSS
$custom: #ad228b;
$custom-light: #ca6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#ad228b",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 314.676,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.20096,
    "h": 340.4
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#AD228B
secondary
#64C77C
accent
#EA683E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD228B

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

Preview Lab → · Contrast checker → · Palette generator →

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