#AD2A7D#AD2A7D

#AD2A7D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.185 H 346.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AD2A7D
RGBrgb(173, 42, 125)
HSLhsl(322, 61%, 42%)
HSVhsv(322, 76%, 68%)
CMYKcmyk(0%, 75.7%, 27.7%, 32.2%)
CIE-LABlab(41.25, 59.11, -16.05)
CIE-LCHlch(41.25, 61.25, 344.81°)
OKLaboklab(51.8% 0.1798 -0.0425)
OKLCHoklch(51.8% 0.185 346.7)
XYZxyz(21.7642, 12.0233, 20.5726)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2A7D #2AAD5A
analogous
#9C2AAD #AD2A7D #AD2A3B
triadic
#AD2A7D #7DAD2A #2A7DAD
tetradic
#AD2A7D #AD9C2A #2AAD5A #2A3BAD
square
#AD2A7D #AD9C2A #2AAD5A #2A3BAD
split-complementary
#AD2A7D #3BAD2A #2AAD9C
monochromatic
#4B1236 #7C1E59 #AD2A7D #D1439D #DD74B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD2A7D#FFFFFF#000000##FFFFFF
##AD2A7D1.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)
#3D537F
Deuteranopia (green-blind)
#64697A
Tritanopia (blue-blind)
#B92650
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad2a7d;
/* rgb */ color: rgb(173, 42, 125);
/* oklch */ color: oklch(51.8% 0.185 346.7);
Tailwind
colors: {
  custom: {
    50: '#ca71a2',
    500: '#ad2a7d',
    950: '#000000',
  },
}
SCSS
$custom: #ad2a7d;
$custom-light: #ca71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2a7d",
  "rgb": {
    "r": 173,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 321.985,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.1847,
    "h": 346.7
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#AD2A7D
secondary
#6EC58E
accent
#E47E44
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AD2A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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