#AD288F#AD288F

#AD288F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.198 H 339.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AD288F
RGBrgb(173, 40, 143)
HSLhsl(314, 62%, 42%)
HSVhsv(314, 77%, 68%)
CMYKcmyk(0%, 76.9%, 17.3%, 32.2%)
CIE-LABlab(41.83, 62.11, -26.21)
CIE-LCHlch(41.83, 67.41, 337.12°)
OKLaboklab(52.48% 0.1847 -0.071)
OKLCHoklch(52.48% 0.198 339)
XYZxyz(22.9509, 12.3872, 27.1635)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD288F #28AD46
analogous
#8928AD #AD288F #AD284D
triadic
#AD288F #8FAD28 #288FAD
tetradic
#AD288F #AD8928 #28AD46 #284DAD
square
#AD288F #AD8928 #28AD46 #284DAD
split-complementary
#AD288F #4DAD28 #28AD89
monochromatic
#4A113D #7B1D66 #AD288F #D33FB2 #DE71C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD288F#FFFFFF#000000##FFFFFF
##AD288F1.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)
#305592
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#B72E59
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad288f;
/* rgb */ color: rgb(173, 40, 143);
/* oklch */ color: oklch(52.5% 0.198 339.0);
Tailwind
colors: {
  custom: {
    50: '#c971b0',
    500: '#ad288f',
    950: '#000000',
  },
}
SCSS
$custom: #ad288f;
$custom-light: #c971b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad288f",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 313.534,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.19784,
    "h": 339
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#AD288F
secondary
#6CC580
accent
#E66742
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AD288F

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

Preview Lab → · Contrast checker → · Palette generator →

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