#AD2F7D#AD2F7D

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

Color values

HEX#AD2F7D
RGBrgb(173, 47, 125)
HSLhsl(323, 57%, 43%)
HSVhsv(323, 73%, 68%)
CMYKcmyk(0%, 72.8%, 27.7%, 32.2%)
CIE-LABlab(41.85, 57.44, -15.15)
CIE-LCHlch(41.85, 59.41, 345.23°)
OKLaboklab(52.24% 0.1746 -0.04)
OKLCHoklch(52.24% 0.179 347.1)
XYZxyz(21.9528, 12.4003, 20.6355)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F7D #2FAD5F
analogous
#9E2FAD #AD2F7D #AD2F3E
triadic
#AD2F7D #7DAD2F #2F7DAD
tetradic
#AD2F7D #AD9E2F #2FAD5F #2F3EAD
square
#AD2F7D #AD9E2F #2FAD5F #2F3EAD
split-complementary
#AD2F7D #3EAD2F #2FAD9E
monochromatic
#4D1537 #7D225A #AD2F7D #CE4B9C #DB7BB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD2F7D#FFFFFF#000000##FFFFFF
##AD2F7D1.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)
#40557F
Deuteranopia (green-blind)
#656B7A
Tritanopia (blue-blind)
#B92B52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad2f7d;
/* rgb */ color: rgb(173, 47, 125);
/* oklch */ color: oklch(52.2% 0.179 347.1);
Tailwind
colors: {
  custom: {
    50: '#ca73a2',
    500: '#ad2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f7d;
$custom-light: #ca73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f7d",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 322.857,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.17907,
    "h": 347.1
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#AD2F7D
secondary
#74C492
accent
#E18247
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AD2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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