#AD1B8A#AD1B8A

#AD1B8A is a mid, highly saturated pink. Relative luminance 0.115; OKLCH L 51.4% C 0.206 H 340.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AD1B8A
RGBrgb(173, 27, 138)
HSLhsl(314, 73%, 39%)
HSVhsv(314, 84%, 68%)
CMYKcmyk(0%, 84.4%, 20.2%, 32.2%)
CIE-LABlab(40.42, 64.80, -25.34)
CIE-LCHlch(40.42, 69.58, 338.64°)
OKLaboklab(51.39% 0.1943 -0.0685)
OKLCHoklch(51.39% 0.206 340.6)
XYZxyz(22.2137, 11.5054, 25.0907)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1B8A #1BAD3E
analogous
#871BAD #AD1B8A #AD1B41
triadic
#AD1B8A #8AAD1B #1B8AAD
tetradic
#AD1B8A #AD871B #1BAD3E #1B41AD
square
#AD1B8A #AD871B #1BAD3E #1B41AD
split-complementary
#AD1B8A #41AD1B #1BAD87
monochromatic
#430A36 #781360 #AD1B8A #DD28B2 #E65DC5

Accessibility & contrast

On white

6.36
#AD1B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AD1B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1B8A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1B8A#FFFFFF#000000##FFFFFF
##AD1B8A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#B82153
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ad1b8a;
/* rgb */ color: rgb(173, 27, 138);
/* oklch */ color: oklch(51.4% 0.206 340.6);
Tailwind
colors: {
  custom: {
    50: '#ca6cac',
    500: '#ad1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ad1b8a;
$custom-light: #ca6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1b8a",
  "rgb": {
    "r": 173,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 314.384,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.20602,
    "h": 340.6
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#AD1B8A
secondary
#5ACA75
accent
#F06438
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AD1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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