#AD2F7C#AD2F7C

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

Color values

HEX#AD2F7C
RGBrgb(173, 47, 124)
HSLhsl(323, 57%, 43%)
HSVhsv(323, 73%, 68%)
CMYKcmyk(0%, 72.8%, 28.3%, 32.2%)
CIE-LABlab(41.81, 57.32, -14.59)
CIE-LCHlch(41.81, 59.14, 345.72°)
OKLaboklab(52.19% 0.1743 -0.0385)
OKLCHoklch(52.19% 0.179 347.6)
XYZxyz(21.8892, 12.3749, 20.3007)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F7C #2FAD60
analogous
#9F2FAD #AD2F7C #AD2F3D
triadic
#AD2F7C #7CAD2F #2F7CAD
tetradic
#AD2F7C #AD9F2F #2FAD60 #2F3DAD
square
#AD2F7C #AD9F2F #2FAD60 #2F3DAD
split-complementary
#AD2F7C #3DAD2F #2FAD9F
monochromatic
#4D1537 #7D225A #AD2F7C #CE4B9B #DB7BB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD2F7C#FFFFFF#000000##FFFFFF
##AD2F7C1.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)
#41557E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#B92A51
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad2f7c;
/* rgb */ color: rgb(173, 47, 124);
/* oklch */ color: oklch(52.2% 0.179 347.6);
Tailwind
colors: {
  custom: {
    50: '#ca73a2',
    500: '#ad2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f7c;
$custom-light: #ca73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f7c",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 323.333,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.17851,
    "h": 347.6
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#AD2F7C
secondary
#74C493
accent
#E18347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AD2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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