#AD2E7F#AD2E7F

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

Color values

HEX#AD2E7F
RGBrgb(173, 46, 127)
HSLhsl(322, 58%, 43%)
HSVhsv(322, 73%, 68%)
CMYKcmyk(0%, 73.4%, 26.6%, 32.2%)
CIE-LABlab(41.80, 58.04, -16.44)
CIE-LCHlch(41.80, 60.33, 344.18°)
OKLaboklab(52.23% 0.1761 -0.0436)
OKLCHoklch(52.23% 0.181 346.1)
XYZxyz(22.0423, 12.3729, 21.3020)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2E7F #2EAD5C
analogous
#9B2EAD #AD2E7F #AD2E40
triadic
#AD2E7F #7FAD2E #2E7FAD
tetradic
#AD2E7F #AD9B2E #2EAD5C #2E40AD
square
#AD2E7F #AD9B2E #2EAD5C #2E40AD
split-complementary
#AD2E7F #40AD2E #2EAD9B
monochromatic
#4C1438 #7D215C #AD2E7F #CF499E #DC7AB8

Accessibility & contrast

On white

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

On black

3.47
#AD2E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AD2E7F#FFFFFF#000000##FFFFFF
##AD2E7F1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5581
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#B92B52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad2e7f;
/* rgb */ color: rgb(173, 46, 127);
/* oklch */ color: oklch(52.2% 0.181 346.1);
Tailwind
colors: {
  custom: {
    50: '#ca72a4',
    500: '#ad2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #ad2e7f;
$custom-light: #ca72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2e7f",
  "rgb": {
    "r": 173,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 321.732,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.18138,
    "h": 346.1
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#AD2E7F
secondary
#73C490
accent
#E17F47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AD2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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