#AD1F99#AD1F99

#AD1F99 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 335.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AD1F99
RGBrgb(173, 31, 153)
HSLhsl(308, 70%, 40%)
HSVhsv(308, 82%, 68%)
CMYKcmyk(0%, 82.1%, 11.6%, 32.2%)
CIE-LABlab(41.48, 65.95, -32.81)
CIE-LCHlch(41.48, 73.66, 333.55°)
OKLaboklab(52.39% 0.1927 -0.0898)
OKLCHoklch(52.39% 0.213 335)
XYZxyz(23.4737, 12.1663, 31.2429)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F99 #1FAD33
analogous
#7A1FAD #AD1F99 #AD1F52
triadic
#AD1F99 #99AD1F #1F99AD
tetradic
#AD1F99 #AD7A1F #1FAD33 #1F52AD
square
#AD1F99 #AD7A1F #1FAD33 #1F52AD
split-complementary
#AD1F99 #52AD1F #1FAD7A
monochromatic
#450C3D #79166B #AD1F99 #DA2FC2 #E363D1

Accessibility & contrast

On white

6.12
#AD1F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AD1F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F99
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F99#FFFFFF#000000##FFFFFF
##AD1F991.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#B62E5D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad1f99;
/* rgb */ color: rgb(173, 31, 153);
/* oklch */ color: oklch(52.4% 0.213 335.0);
Tailwind
colors: {
  custom: {
    50: '#ca6eb7',
    500: '#ad1f99',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f99;
$custom-light: #ca6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f99",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 308.451,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.21264,
    "h": 335
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#AD1F99
secondary
#60C86E
accent
#EC543B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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