#AD2F87#AD2F87

#AD2F87 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.185 H 342.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AD2F87
RGBrgb(173, 47, 135)
HSLhsl(318, 57%, 43%)
HSVhsv(318, 73%, 68%)
CMYKcmyk(0%, 72.8%, 22%, 32.2%)
CIE-LABlab(42.26, 58.75, -20.65)
CIE-LCHlch(42.26, 62.27, 340.63°)
OKLaboklab(52.67% 0.1766 -0.0553)
OKLCHoklch(52.67% 0.185 342.6)
XYZxyz(22.6240, 12.6688, 24.1708)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F87 #2FAD55
analogous
#942FAD #AD2F87 #AD2F48
triadic
#AD2F87 #87AD2F #2F87AD
tetradic
#AD2F87 #AD942F #2FAD55 #2F48AD
square
#AD2F87 #AD942F #2FAD55 #2F48AD
split-complementary
#AD2F87 #48AD2F #2FAD94
monochromatic
#4D153C #7D2261 #AD2F87 #CE4BA7 #DB7BBE

Accessibility & contrast

On white

5.94
#AD2F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AD2F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F87
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F87#FFFFFF#000000##FFFFFF
##AD2F871.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5789
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#B83057
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2f87;
/* rgb */ color: rgb(173, 47, 135);
/* oklch */ color: oklch(52.7% 0.185 342.6);
Tailwind
colors: {
  custom: {
    50: '#c973aa',
    500: '#ad2f87',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f87;
$custom-light: #c973aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f87",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 318.095,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.18506,
    "h": 342.6
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#AD2F87
secondary
#74C48C
accent
#E17547
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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