#AD1F92#AD1F92

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

Color values

HEX#AD1F92
RGBrgb(173, 31, 146)
HSLhsl(311, 70%, 40%)
HSVhsv(311, 82%, 68%)
CMYKcmyk(0%, 82.1%, 15.6%, 32.2%)
CIE-LABlab(41.12, 64.96, -29.13)
CIE-LCHlch(41.12, 71.19, 335.85°)
OKLaboklab(52.02% 0.1923 -0.0793)
OKLCHoklch(52.02% 0.208 337.6)
XYZxyz(22.9124, 11.9418, 28.2869)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F92 #1FAD3A
analogous
#811FAD #AD1F92 #AD1F4B
triadic
#AD1F92 #92AD1F #1F92AD
tetradic
#AD1F92 #AD811F #1FAD3A #1F4BAD
square
#AD1F92 #AD811F #1FAD3A #1F4BAD
split-complementary
#AD1F92 #4BAD1F #1FAD81
monochromatic
#450C3A #791666 #AD1F92 #DA2FB9 #E363CB

Accessibility & contrast

On white

6.20
#AD1F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AD1F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F92
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F92#FFFFFF#000000##FFFFFF
##AD1F921.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#59698F
Tritanopia (blue-blind)
#B72959
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad1f92;
/* rgb */ color: rgb(173, 31, 146);
/* oklch */ color: oklch(52.0% 0.208 337.6);
Tailwind
colors: {
  custom: {
    50: '#ca6eb2',
    500: '#ad1f92',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f92;
$custom-light: #ca6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f92",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 311.408,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.20799,
    "h": 337.6
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#AD1F92
secondary
#60C874
accent
#EC5D3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AD1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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