#AD2E7B#AD2E7B

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

Color values

HEX#AD2E7B
RGBrgb(173, 46, 123)
HSLhsl(324, 58%, 43%)
HSVhsv(324, 73%, 68%)
CMYKcmyk(0%, 73.4%, 28.9%, 32.2%)
CIE-LABlab(41.64, 57.54, -14.22)
CIE-LCHlch(41.64, 59.27, 346.12°)
OKLaboklab(52.06% 0.1752 -0.0374)
OKLCHoklch(52.06% 0.179 347.9)
XYZxyz(21.7868, 12.2707, 19.9562)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2E7B #2EAD60
analogous
#9F2EAD #AD2E7B #AD2E3B
triadic
#AD2E7B #7BAD2E #2E7BAD
tetradic
#AD2E7B #AD9F2E #2EAD60 #2E3BAD
square
#AD2E7B #AD9F2E #2EAD60 #2E3BAD
split-complementary
#AD2E7B #3BAD2E #2EAD9F
monochromatic
#4C1436 #7D2159 #AD2E7B #CF499A #DC7AB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD2E7B#FFFFFF#000000##FFFFFF
##AD2E7B1.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)
#40547D
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#B92950
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad2e7b;
/* rgb */ color: rgb(173, 46, 123);
/* oklch */ color: oklch(52.1% 0.179 347.9);
Tailwind
colors: {
  custom: {
    50: '#ca72a1',
    500: '#ad2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #ad2e7b;
$custom-light: #ca72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2e7b",
  "rgb": {
    "r": 173,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 323.622,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.17912,
    "h": 347.9
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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