#AD408E#AD408E

#AD408E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.167 H 340.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AD408E
RGBrgb(173, 64, 142)
HSLhsl(317, 46%, 46%)
HSVhsv(317, 63%, 68%)
CMYKcmyk(0%, 63%, 17.9%, 32.2%)
CIE-LABlab(44.95, 53.09, -20.76)
CIE-LCHlch(44.95, 57.01, 338.65°)
OKLaboklab(54.74% 0.1578 -0.0558)
OKLCHoklch(54.74% 0.167 340.5)
XYZxyz(23.9500, 14.5061, 27.1245)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD408E #40AD5F
analogous
#9640AD #AD408E #AD4058
triadic
#AD408E #8EAD40 #408EAD
tetradic
#AD408E #AD9640 #40AD5F #4058AD
square
#AD408E #AD9640 #40AD5F #4058AD
split-complementary
#AD408E #58AD40 #40AD96
monochromatic
#541F45 #802F69 #AD408E #C664AA #D691C3

Accessibility & contrast

On white

5.38
#AD408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AD408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD408E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD408E#FFFFFF#000000##FFFFFF
##AD408E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F90
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#B74261
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ad408e;
/* rgb */ color: rgb(173, 64, 142);
/* oklch */ color: oklch(54.7% 0.167 340.5);
Tailwind
colors: {
  custom: {
    50: '#c87caf',
    500: '#ad408e',
    950: '#000000',
  },
}
SCSS
$custom: #ad408e;
$custom-light: #c87caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad408e",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 317.064,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.16732,
    "h": 340.5
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#AD408E
secondary
#87C298
accent
#D67852
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AD408E

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

Preview Lab → · Contrast checker → · Palette generator →

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