#AD1B8E#AD1B8E

#AD1B8E is a mid, highly saturated pink. Relative luminance 0.116; OKLCH L 51.6% C 0.209 H 339.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AD1B8E
RGBrgb(173, 27, 142)
HSLhsl(313, 73%, 39%)
HSVhsv(313, 84%, 68%)
CMYKcmyk(0%, 84.4%, 17.9%, 32.2%)
CIE-LABlab(40.61, 65.33, -27.49)
CIE-LCHlch(40.61, 70.88, 337.18°)
OKLaboklab(51.59% 0.1947 -0.0746)
OKLCHoklch(51.59% 0.209 339)
XYZxyz(22.5086, 11.6234, 26.6441)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1B8E #1BAD3A
analogous
#831BAD #AD1B8E #AD1B45
triadic
#AD1B8E #8EAD1B #1B8EAD
tetradic
#AD1B8E #AD831B #1BAD3A #1B45AD
square
#AD1B8E #AD831B #1BAD3A #1B45AD
split-complementary
#AD1B8E #45AD1B #1BAD83
monochromatic
#430A37 #781363 #AD1B8E #DD28B7 #E65DC9

Accessibility & contrast

On white

6.32
#AD1B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AD1B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1B8E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1B8E#FFFFFF#000000##FFFFFF
##AD1B8E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#B72455
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ad1b8e;
/* rgb */ color: rgb(173, 27, 142);
/* oklch */ color: oklch(51.6% 0.209 339.0);
Tailwind
colors: {
  custom: {
    50: '#ca6caf',
    500: '#ad1b8e',
    950: '#000000',
  },
}
SCSS
$custom: #ad1b8e;
$custom-light: #ca6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1b8e",
  "rgb": {
    "r": 173,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 312.74,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.20851,
    "h": 339
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#AD1B8E
secondary
#5ACA72
accent
#F05F38
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD1B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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