#AD1F5A#AD1F5A

#AD1F5A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.180 H 2.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AD1F5A
RGBrgb(173, 31, 90)
HSLhsl(335, 70%, 40%)
HSVhsv(335, 82%, 68%)
CMYKcmyk(0%, 82.1%, 48%, 32.2%)
CIE-LABlab(38.91, 58.58, 2.41)
CIE-LCHlch(38.91, 58.63, 2.36°)
OKLaboklab(49.69% 0.1799 0.0068)
OKLCHoklch(49.69% 0.18 2.2)
XYZxyz(19.5707, 10.6051, 10.6873)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F5A #1FAD72
analogous
#AD1FA1 #AD1F5A #AD2B1F
triadic
#AD1F5A #5AAD1F #1F5AAD
tetradic
#AD1F5A #A1AD1F #1FAD72 #2B1FAD
square
#AD1F5A #A1AD1F #1FAD72 #2B1FAD
split-complementary
#AD1F5A #1FAD2B #1FA1AD
monochromatic
#450C24 #79163F #AD1F5A #DA2F76 #E36398

Accessibility & contrast

On white

6.73
#AD1F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AD1F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F5A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F5A#FFFFFF#000000##FFFFFF
##AD1F5A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#696557
Tritanopia (blue-blind)
#BC003A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ad1f5a;
/* rgb */ color: rgb(173, 31, 90);
/* oklch */ color: oklch(49.7% 0.180 2.2);
Tailwind
colors: {
  custom: {
    50: '#cb6c88',
    500: '#ad1f5a',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f5a;
$custom-light: #cb6c88;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f5a",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 335.07,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.4969,
    "c": 0.18002,
    "h": 2.2
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#AD1F5A
secondary
#60C89D
accent
#ECA33B
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AD1F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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