#AD2F78#AD2F78

#AD2F78 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.176 H 349.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AD2F78
RGBrgb(173, 47, 120)
HSLhsl(325, 57%, 43%)
HSVhsv(325, 73%, 68%)
CMYKcmyk(0%, 72.8%, 30.6%, 32.2%)
CIE-LABlab(41.65, 56.82, -12.35)
CIE-LCHlch(41.65, 58.15, 347.73°)
OKLaboklab(52.03% 0.1734 -0.0323)
OKLCHoklch(52.03% 0.176 349.4)
XYZxyz(21.6414, 12.2758, 18.9954)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F78 #2FAD64
analogous
#A32FAD #AD2F78 #AD2F39
triadic
#AD2F78 #78AD2F #2F78AD
tetradic
#AD2F78 #ADA32F #2FAD64 #2F39AD
square
#AD2F78 #ADA32F #2FAD64 #2F39AD
split-complementary
#AD2F78 #39AD2F #2FADA3
monochromatic
#4D1535 #7D2257 #AD2F78 #CE4B97 #DB7BB3

Accessibility & contrast

On white

6.08
#AD2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AD2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F78
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F78#FFFFFF#000000##FFFFFF
##AD2F781.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#676A75
Tritanopia (blue-blind)
#BA284F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad2f78;
/* rgb */ color: rgb(173, 47, 120);
/* oklch */ color: oklch(52.0% 0.176 349.4);
Tailwind
colors: {
  custom: {
    50: '#ca739f',
    500: '#ad2f78',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f78;
$custom-light: #ca739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f78",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 325.238,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.17634,
    "h": 349.4
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#AD2F78
secondary
#74C496
accent
#E18847
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AD2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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