#AD228F#AD228F

#AD228F is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.1% C 0.204 H 338.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AD228F
RGBrgb(173, 34, 143)
HSLhsl(313, 67%, 41%)
HSVhsv(313, 80%, 68%)
CMYKcmyk(0%, 80.3%, 17.3%, 32.2%)
CIE-LABlab(41.24, 63.79, -27.12)
CIE-LCHlch(41.24, 69.32, 336.97°)
OKLaboklab(52.05% 0.1898 -0.0736)
OKLCHoklch(52.05% 0.204 338.8)
XYZxyz(22.7641, 12.0137, 27.1013)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD228F #22AD40
analogous
#8622AD #AD228F #AD2249
triadic
#AD228F #8FAD22 #228FAD
tetradic
#AD228F #AD8622 #22AD40 #2249AD
square
#AD228F #AD8622 #22AD40 #2249AD
split-complementary
#AD228F #49AD22 #22AD86
monochromatic
#470E3A #7A1865 #AD228F #D735B4 #E168C7

Accessibility & contrast

On white

6.17
#AD228F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD228F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD228F#FFFFFF#000000##FFFFFF
##AD228F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#B72A58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad228f;
/* rgb */ color: rgb(173, 34, 143);
/* oklch */ color: oklch(52.1% 0.204 338.8);
Tailwind
colors: {
  custom: {
    50: '#ca6eb0',
    500: '#ad228f',
    950: '#000000',
  },
}
SCSS
$custom: #ad228f;
$custom-light: #ca6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad228f",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 312.95,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.20351,
    "h": 338.8
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#AD228F
secondary
#64C779
accent
#EA633E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD228F

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

Preview Lab → · Contrast checker → · Palette generator →

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