#AD1F52#AD1F52

#AD1F52 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.178 H 6.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AD1F52
RGBrgb(173, 31, 82)
HSLhsl(338, 70%, 40%)
HSVhsv(338, 82%, 68%)
CMYKcmyk(0%, 82.1%, 52.6%, 32.2%)
CIE-LABlab(38.68, 57.92, 7.19)
CIE-LCHlch(38.68, 58.36, 7.08°)
OKLaboklab(49.45% 0.177 0.0187)
OKLCHoklch(49.45% 0.178 6)
XYZxyz(19.2484, 10.4762, 8.9896)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F52 #1FAD7A
analogous
#AD1F99 #AD1F52 #AD331F
triadic
#AD1F52 #52AD1F #1F52AD
tetradic
#AD1F52 #99AD1F #1FAD7A #331FAD
square
#AD1F52 #99AD1F #1FAD7A #331FAD
split-complementary
#AD1F52 #1FAD33 #1F99AD
monochromatic
#450C21 #791639 #AD1F52 #DA2F6D #E36391

Accessibility & contrast

On white

6.79
#AD1F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AD1F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F52
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F52#FFFFFF#000000##FFFFFF
##AD1F521.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464953
Deuteranopia (green-blind)
#6B654F
Tritanopia (blue-blind)
#BD0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f52;
/* rgb */ color: rgb(173, 31, 82);
/* oklch */ color: oklch(49.5% 0.178 6.0);
Tailwind
colors: {
  custom: {
    50: '#cc6b82',
    500: '#ad1f52',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f52;
$custom-light: #cc6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f52",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 338.451,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.17799,
    "h": 6
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#AD1F52
secondary
#60C8A3
accent
#ECAD3B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AD1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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