#AD1F89#AD1F89

#AD1F89 is a mid, highly saturated pink. Relative luminance 0.117; OKLCH L 51.6% C 0.202 H 341.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AD1F89
RGBrgb(173, 31, 137)
HSLhsl(315, 70%, 40%)
HSVhsv(315, 82%, 68%)
CMYKcmyk(0%, 82.1%, 20.8%, 32.2%)
CIE-LABlab(40.69, 63.75, -24.31)
CIE-LCHlch(40.69, 68.22, 339.13°)
OKLaboklab(51.57% 0.1914 -0.0655)
OKLCHoklch(51.57% 0.202 341.1)
XYZxyz(22.2397, 11.6727, 24.7439)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F89 #1FAD43
analogous
#8A1FAD #AD1F89 #AD1F42
triadic
#AD1F89 #89AD1F #1F89AD
tetradic
#AD1F89 #AD8A1F #1FAD43 #1F42AD
square
#AD1F89 #AD8A1F #1FAD43 #1F42AD
split-complementary
#AD1F89 #42AD1F #1FAD8A
monochromatic
#450C37 #791660 #AD1F89 #DA2FAF #E363C3

Accessibility & contrast

On white

6.30
#AD1F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AD1F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F89
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F89#FFFFFF#000000##FFFFFF
##AD1F891.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#5D6886
Tritanopia (blue-blind)
#B82353
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ad1f89;
/* rgb */ color: rgb(173, 31, 137);
/* oklch */ color: oklch(51.6% 0.202 341.1);
Tailwind
colors: {
  custom: {
    50: '#ca6dab',
    500: '#ad1f89',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f89;
$custom-light: #ca6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f89",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 315.211,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.20228,
    "h": 341.1
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#AD1F89
secondary
#60C87A
accent
#EC683B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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