#AD2F8A#AD2F8A

#AD2F8A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.187 H 341.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AD2F8A
RGBrgb(173, 47, 138)
HSLhsl(317, 57%, 43%)
HSVhsv(317, 73%, 68%)
CMYKcmyk(0%, 72.8%, 20.2%, 32.2%)
CIE-LABlab(42.39, 59.16, -22.28)
CIE-LCHlch(42.39, 63.22, 339.36°)
OKLaboklab(52.81% 0.1771 -0.0599)
OKLCHoklch(52.81% 0.187 341.3)
XYZxyz(22.8382, 12.7545, 25.2989)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F8A #2FAD52
analogous
#912FAD #AD2F8A #AD2F4B
triadic
#AD2F8A #8AAD2F #2F8AAD
tetradic
#AD2F8A #AD912F #2FAD52 #2F4BAD
square
#AD2F8A #AD912F #2FAD52 #2F4BAD
split-complementary
#AD2F8A #4BAD2F #2FAD91
monochromatic
#4D153D #7D2264 #AD2F8A #CE4BAA #DB7BC1

Accessibility & contrast

On white

5.91
#AD2F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AD2F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F8A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F8A#FFFFFF#000000##FFFFFF
##AD2F8A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#B83159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2f8a;
/* rgb */ color: rgb(173, 47, 138);
/* oklch */ color: oklch(52.8% 0.187 341.3);
Tailwind
colors: {
  custom: {
    50: '#c973ac',
    500: '#ad2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f8a;
$custom-light: #c973ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f8a",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 316.667,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52811,
    "c": 0.18697,
    "h": 341.3
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#AD2F8A
secondary
#74C48A
accent
#E17247
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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