#AD2F99#AD2F99

#AD2F99 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.197 H 335.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AD2F99
RGBrgb(173, 47, 153)
HSLhsl(310, 57%, 43%)
HSVhsv(310, 73%, 68%)
CMYKcmyk(0%, 72.8%, 11.6%, 32.2%)
CIE-LABlab(43.09, 61.32, -30.28)
CIE-LCHlch(43.09, 68.39, 333.72°)
OKLaboklab(53.55% 0.179 -0.0827)
OKLCHoklch(53.55% 0.197 335.2)
XYZxyz(24.0002, 13.2193, 31.4184)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2F99 #2FAD43
analogous
#822FAD #AD2F99 #AD2F5A
triadic
#AD2F99 #99AD2F #2F99AD
tetradic
#AD2F99 #AD822F #2FAD43 #2F5AAD
square
#AD2F99 #AD822F #2FAD43 #2F5AAD
split-complementary
#AD2F99 #5AAD2F #2FAD82
monochromatic
#4D1544 #7D226E #AD2F99 #CE4BB9 #DB7BCC

Accessibility & contrast

On white

5.76
#AD2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AD2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2F99
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2F99#FFFFFF#000000##FFFFFF
##AD2F991.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#5B6C96
Tritanopia (blue-blind)
#B63961
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ad2f99;
/* rgb */ color: rgb(173, 47, 153);
/* oklch */ color: oklch(53.5% 0.197 335.2);
Tailwind
colors: {
  custom: {
    50: '#c974b7',
    500: '#ad2f99',
    950: '#000000',
  },
}
SCSS
$custom: #ad2f99;
$custom-light: #c974b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2f99",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 309.524,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.19719,
    "h": 335.2
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#AD2F99
secondary
#74C481
accent
#E16047
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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