#AD2899#AD2899

#AD2899 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.205 H 335.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AD2899
RGBrgb(173, 40, 153)
HSLhsl(309, 62%, 42%)
HSVhsv(309, 77%, 68%)
CMYKcmyk(0%, 76.9%, 11.6%, 32.2%)
CIE-LABlab(42.31, 63.54, -31.50)
CIE-LCHlch(42.31, 70.92, 333.63°)
OKLaboklab(52.99% 0.1856 -0.0861)
OKLCHoklch(52.99% 0.205 335.1)
XYZxyz(23.7425, 12.7039, 31.3325)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2899 #28AD3C
analogous
#7F28AD #AD2899 #AD2856
triadic
#AD2899 #99AD28 #2899AD
tetradic
#AD2899 #AD7F28 #28AD3C #2856AD
square
#AD2899 #AD7F28 #28AD3C #2856AD
split-complementary
#AD2899 #56AD28 #28AD7F
monochromatic
#4A1141 #7B1D6D #AD2899 #D33FBD #DE71CE

Accessibility & contrast

On white

5.93
#AD2899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AD2899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2899
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2899#FFFFFF#000000##FFFFFF
##AD28991.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B6345F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2899;
/* rgb */ color: rgb(173, 40, 153);
/* oklch */ color: oklch(53.0% 0.205 335.1);
Tailwind
colors: {
  custom: {
    50: '#c971b7',
    500: '#ad2899',
    950: '#000000',
  },
}
SCSS
$custom: #ad2899;
$custom-light: #c971b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2899",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 309.023,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.20461,
    "h": 335.1
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#AD2899
secondary
#6CC579
accent
#E65B42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2899

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

Preview Lab → · Contrast checker → · Palette generator →

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