#AD2791#AD2791

#AD2791 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.5% C 0.200 H 338.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AD2791
RGBrgb(173, 39, 145)
HSLhsl(313, 63%, 42%)
HSVhsv(313, 77%, 68%)
CMYKcmyk(0%, 77.5%, 16.2%, 32.2%)
CIE-LABlab(41.82, 62.69, -27.43)
CIE-LCHlch(41.82, 68.43, 336.36°)
OKLaboklab(52.5% 0.1858 -0.0745)
OKLCHoklch(52.5% 0.2 338.2)
XYZxyz(23.0705, 12.3819, 27.9575)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2791 #27AD43
analogous
#8627AD #AD2791 #AD274E
triadic
#AD2791 #91AD27 #2791AD
tetradic
#AD2791 #AD8627 #27AD43 #274EAD
square
#AD2791 #AD8627 #27AD43 #274EAD
split-complementary
#AD2791 #4EAD27 #27AD86
monochromatic
#49103D #7B1C67 #AD2791 #D33EB4 #DF70C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD2791#FFFFFF#000000##FFFFFF
##AD27911.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)
#2E5594
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#B72F5A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad2791;
/* rgb */ color: rgb(173, 39, 145);
/* oklch */ color: oklch(52.5% 0.200 338.2);
Tailwind
colors: {
  custom: {
    50: '#c970b1',
    500: '#ad2791',
    950: '#000000',
  },
}
SCSS
$custom: #ad2791;
$custom-light: #c970b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2791",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 312.537,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.20016,
    "h": 338.2
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#AD2791
secondary
#6AC67D
accent
#E66442
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2791

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

Preview Lab → · Contrast checker → · Palette generator →

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