#AD2A7F#AD2A7F

#AD2A7F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 345.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AD2A7F
RGBrgb(173, 42, 127)
HSLhsl(321, 61%, 42%)
HSVhsv(321, 76%, 68%)
CMYKcmyk(0%, 75.7%, 26.6%, 32.2%)
CIE-LABlab(41.33, 59.36, -17.16)
CIE-LCHlch(41.33, 61.80, 343.88°)
OKLaboklab(51.89% 0.1802 -0.0455)
OKLCHoklch(51.89% 0.186 345.8)
XYZxyz(21.8933, 12.0749, 21.2523)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2A7F #2AAD58
analogous
#9A2AAD #AD2A7F #AD2A3D
triadic
#AD2A7F #7FAD2A #2A7FAD
tetradic
#AD2A7F #AD9A2A #2AAD58 #2A3DAD
square
#AD2A7F #AD9A2A #2AAD58 #2A3DAD
split-complementary
#AD2A7F #3DAD2A #2AAD9A
monochromatic
#4B1237 #7C1E5B #AD2A7F #D1439F #DD74B8

Accessibility & contrast

On white

6.15
#AD2A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD2A7F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2A7F#FFFFFF#000000##FFFFFF
##AD2A7F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#B92751
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad2a7f;
/* rgb */ color: rgb(173, 42, 127);
/* oklch */ color: oklch(51.9% 0.186 345.8);
Tailwind
colors: {
  custom: {
    50: '#ca71a4',
    500: '#ad2a7f',
    950: '#000000',
  },
}
SCSS
$custom: #ad2a7f;
$custom-light: #ca71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2a7f",
  "rgb": {
    "r": 173,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 321.069,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.18584,
    "h": 345.8
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#AD2A7F
secondary
#6EC58D
accent
#E47C44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AD2A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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