#AD2898#AD2898

#AD2898 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.204 H 335.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AD2898
RGBrgb(173, 40, 152)
HSLhsl(309, 62%, 42%)
HSVhsv(309, 77%, 68%)
CMYKcmyk(0%, 76.9%, 12.1%, 32.2%)
CIE-LABlab(42.26, 63.40, -30.98)
CIE-LCHlch(42.26, 70.56, 333.96°)
OKLaboklab(52.93% 0.1855 -0.0846)
OKLCHoklch(52.93% 0.204 335.5)
XYZxyz(23.6602, 12.6710, 30.8993)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2898 #28AD3D
analogous
#8028AD #AD2898 #AD2856
triadic
#AD2898 #98AD28 #2898AD
tetradic
#AD2898 #AD8028 #28AD3D #2856AD
square
#AD2898 #AD8028 #28AD3D #2856AD
split-complementary
#AD2898 #56AD28 #28AD80
monochromatic
#4A1141 #7B1D6C #AD2898 #D33FBB #DE71CD

Accessibility & contrast

On white

5.94
#AD2898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AD2898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2898
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2898#FFFFFF#000000##FFFFFF
##AD28981.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#B6335E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2898;
/* rgb */ color: rgb(173, 40, 152);
/* oklch */ color: oklch(52.9% 0.204 335.5);
Tailwind
colors: {
  custom: {
    50: '#c971b6',
    500: '#ad2898',
    950: '#000000',
  },
}
SCSS
$custom: #ad2898;
$custom-light: #c971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2898",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 309.474,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.20391,
    "h": 335.5
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#AD2898
secondary
#6CC57A
accent
#E65C42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2898

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

Preview Lab → · Contrast checker → · Palette generator →

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