#AD2F97#AD2F97

#AD2F97 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.196 H 336.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AD2F97
RGBrgb(173, 47, 151)
HSLhsl(310, 57%, 43%)
HSVhsv(310, 73%, 68%)
CMYKcmyk(0%, 72.8%, 12.7%, 32.2%)
CIE-LABlab(42.99, 61.02, -29.23)
CIE-LCHlch(42.99, 67.66, 334.41°)
OKLaboklab(53.44% 0.1788 -0.0797)
OKLCHoklch(53.44% 0.196 336)
XYZxyz(23.8364, 13.1538, 30.5557)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F97 #2FAD45
analogous
#842FAD #AD2F97 #AD2F58
triadic
#AD2F97 #97AD2F #2F97AD
tetradic
#AD2F97 #AD842F #2FAD45 #2F58AD
square
#AD2F97 #AD842F #2FAD45 #2F58AD
split-complementary
#AD2F97 #58AD2F #2FAD84
monochromatic
#4D1543 #7D226D #AD2F97 #CE4BB7 #DB7BCA

Accessibility & contrast

On white

5.78
#AD2F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AD2F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F97
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F97#FFFFFF#000000##FFFFFF
##AD2F971.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#B6385F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ad2f97;
/* rgb */ color: rgb(173, 47, 151);
/* oklch */ color: oklch(53.4% 0.196 336.0);
Tailwind
colors: {
  custom: {
    50: '#c974b6',
    500: '#ad2f97',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f97;
$custom-light: #c974b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f97",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 310.476,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.19577,
    "h": 336
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#AD2F97
secondary
#74C482
accent
#E16247
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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