#AD2A8A#AD2A8A

#AD2A8A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.193 H 341.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AD2A8A
RGBrgb(173, 42, 138)
HSLhsl(316, 61%, 42%)
HSVhsv(316, 76%, 68%)
CMYKcmyk(0%, 75.7%, 20.2%, 32.2%)
CIE-LABlab(41.81, 60.81, -23.18)
CIE-LCHlch(41.81, 65.08, 339.13°)
OKLaboklab(52.39% 0.1821 -0.0624)
OKLCHoklch(52.39% 0.193 341.1)
XYZxyz(22.6497, 12.3774, 25.2361)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2A8A #2AAD4D
analogous
#8F2AAD #AD2A8A #AD2A48
triadic
#AD2A8A #8AAD2A #2A8AAD
tetradic
#AD2A8A #AD8F2A #2AAD4D #2A48AD
square
#AD2A8A #AD8F2A #2AAD4D #2A48AD
split-complementary
#AD2A8A #48AD2A #2AAD8F
monochromatic
#4B123B #7C1E63 #AD2A8A #D143AB #DD74C1

Accessibility & contrast

On white

6.04
#AD2A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AD2A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2A8A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2A8A#FFFFFF#000000##FFFFFF
##AD2A8A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#B82D57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad2a8a;
/* rgb */ color: rgb(173, 42, 138);
/* oklch */ color: oklch(52.4% 0.193 341.1);
Tailwind
colors: {
  custom: {
    50: '#c971ac',
    500: '#ad2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #ad2a8a;
$custom-light: #c971ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2a8a",
  "rgb": {
    "r": 173,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 316.031,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.19252,
    "h": 341.1
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#AD2A8A
secondary
#6EC585
accent
#E46F44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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