#AD2897#AD2897

#AD2897 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.203 H 335.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AD2897
RGBrgb(173, 40, 151)
HSLhsl(310, 62%, 42%)
HSVhsv(310, 77%, 68%)
CMYKcmyk(0%, 76.9%, 12.7%, 32.2%)
CIE-LABlab(42.21, 63.25, -30.45)
CIE-LCHlch(42.21, 70.20, 334.29°)
OKLaboklab(52.88% 0.1855 -0.0831)
OKLCHoklch(52.88% 0.203 335.9)
XYZxyz(23.5787, 12.6384, 30.4698)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2897 #28AD3E
analogous
#8128AD #AD2897 #AD2855
triadic
#AD2897 #97AD28 #2897AD
tetradic
#AD2897 #AD8128 #28AD3E #2855AD
square
#AD2897 #AD8128 #28AD3E #2855AD
split-complementary
#AD2897 #55AD28 #28AD81
monochromatic
#4A1140 #7B1D6C #AD2897 #D33FBA #DE71CC

Accessibility & contrast

On white

5.95
#AD2897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD2897
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2897#FFFFFF#000000##FFFFFF
##AD28971.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#B6335E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2897;
/* rgb */ color: rgb(173, 40, 151);
/* oklch */ color: oklch(52.9% 0.203 335.9);
Tailwind
colors: {
  custom: {
    50: '#c971b6',
    500: '#ad2897',
    950: '#000000',
  },
}
SCSS
$custom: #ad2897;
$custom-light: #c971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2897",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 309.925,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.20323,
    "h": 335.9
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD2897

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

Preview Lab → · Contrast checker → · Palette generator →

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