#AD2F8D#AD2F8D

#AD2F8D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.189 H 340.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AD2F8D
RGBrgb(173, 47, 141)
HSLhsl(315, 57%, 43%)
HSVhsv(315, 73%, 68%)
CMYKcmyk(0%, 72.8%, 18.5%, 32.2%)
CIE-LABlab(42.53, 59.58, -23.90)
CIE-LCHlch(42.53, 64.19, 338.14°)
OKLaboklab(52.95% 0.1776 -0.0645)
OKLCHoklch(52.95% 0.189 340)
XYZxyz(23.0584, 12.8426, 26.4586)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F8D #2FAD4F
analogous
#8E2FAD #AD2F8D #AD2F4E
triadic
#AD2F8D #8DAD2F #2F8DAD
tetradic
#AD2F8D #AD8E2F #2FAD4F #2F4EAD
square
#AD2F8D #AD8E2F #2FAD4F #2F4EAD
split-complementary
#AD2F8D #4EAD2F #2FAD8E
monochromatic
#4D153F #7D2266 #AD2F8D #CE4BAD #DB7BC3

Accessibility & contrast

On white

5.89
#AD2F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AD2F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F8D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F8D#FFFFFF#000000##FFFFFF
##AD2F8D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#B7335A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2f8d;
/* rgb */ color: rgb(173, 47, 141);
/* oklch */ color: oklch(53.0% 0.189 340.0);
Tailwind
colors: {
  custom: {
    50: '#c973ae',
    500: '#ad2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f8d;
$custom-light: #c973ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f8d",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 315.238,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.18893,
    "h": 340
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#AD2F8D
secondary
#74C488
accent
#E16E47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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