#AD2A7E#AD2A7E

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

Color values

HEX#AD2A7E
RGBrgb(173, 42, 126)
HSLhsl(322, 61%, 42%)
HSVhsv(322, 76%, 68%)
CMYKcmyk(0%, 75.7%, 27.2%, 32.2%)
CIE-LABlab(41.29, 59.24, -16.61)
CIE-LCHlch(41.29, 61.52, 344.34°)
OKLaboklab(51.85% 0.18 -0.044)
OKLCHoklch(51.85% 0.185 346.3)
XYZxyz(21.8284, 12.0489, 20.9108)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2A7E #2AAD59
analogous
#9B2AAD #AD2A7E #AD2A3C
triadic
#AD2A7E #7EAD2A #2A7EAD
tetradic
#AD2A7E #AD9B2A #2AAD59 #2A3CAD
square
#AD2A7E #AD9B2A #2AAD59 #2A3CAD
split-complementary
#AD2A7E #3CAD2A #2AAD9B
monochromatic
#4B1236 #7C1E5A #AD2A7E #D1439E #DD74B8

Accessibility & contrast

On white

6.16
#AD2A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AD2A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2A7E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2A7E#FFFFFF#000000##FFFFFF
##AD2A7E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B92651
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad2a7e;
/* rgb */ color: rgb(173, 42, 126);
/* oklch */ color: oklch(51.8% 0.185 346.3);
Tailwind
colors: {
  custom: {
    50: '#ca71a3',
    500: '#ad2a7e',
    950: '#000000',
  },
}
SCSS
$custom: #ad2a7e;
$custom-light: #ca71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2a7e",
  "rgb": {
    "r": 173,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 321.527,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.18526,
    "h": 346.3
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#AD2A7E
secondary
#6EC58D
accent
#E47D44
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AD2A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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