#AD1F91#AD1F91

#AD1F91 is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 52.0% C 0.207 H 338.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AD1F91
RGBrgb(173, 31, 145)
HSLhsl(312, 70%, 40%)
HSVhsv(312, 82%, 68%)
CMYKcmyk(0%, 82.1%, 16.2%, 32.2%)
CIE-LABlab(41.07, 64.82, -28.60)
CIE-LCHlch(41.07, 70.85, 336.20°)
OKLaboklab(51.97% 0.1922 -0.0778)
OKLCHoklch(51.97% 0.207 338)
XYZxyz(22.8350, 11.9108, 27.8790)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F91 #1FAD3B
analogous
#821FAD #AD1F91 #AD1F4A
triadic
#AD1F91 #91AD1F #1F91AD
tetradic
#AD1F91 #AD821F #1FAD3B #1F4AAD
square
#AD1F91 #AD821F #1FAD3B #1F4AAD
split-complementary
#AD1F91 #4AAD1F #1FAD82
monochromatic
#450C3A #791666 #AD1F91 #DA2FB8 #E363CA

Accessibility & contrast

On white

6.21
#AD1F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AD1F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F91
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F91#FFFFFF#000000##FFFFFF
##AD1F911.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#59688E
Tritanopia (blue-blind)
#B72958
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad1f91;
/* rgb */ color: rgb(173, 31, 145);
/* oklch */ color: oklch(52.0% 0.207 338.0);
Tailwind
colors: {
  custom: {
    50: '#ca6eb1',
    500: '#ad1f91',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f91;
$custom-light: #ca6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f91",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 311.831,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.20734,
    "h": 338
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#AD1F91
secondary
#60C874
accent
#EC5E3B
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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