#AD1F51#AD1F51

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

Color values

HEX#AD1F51
RGBrgb(173, 31, 81)
HSLhsl(339, 70%, 40%)
HSVhsv(339, 82%, 68%)
CMYKcmyk(0%, 82.1%, 53.2%, 32.2%)
CIE-LABlab(38.66, 57.84, 7.80)
CIE-LCHlch(38.66, 58.36, 7.68°)
OKLaboklab(49.43% 0.1766 0.0202)
OKLCHoklch(49.43% 0.178 6.5)
XYZxyz(19.2106, 10.4611, 8.7906)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F51 #1FAD7B
analogous
#AD1F98 #AD1F51 #AD341F
triadic
#AD1F51 #51AD1F #1F51AD
tetradic
#AD1F51 #98AD1F #1FAD7B #341FAD
square
#AD1F51 #98AD1F #1FAD7B #341FAD
split-complementary
#AD1F51 #1FAD34 #1F98AD
monochromatic
#450C20 #791639 #AD1F51 #DA2F6B #E36390

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD1F51#FFFFFF#000000##FFFFFF
##AD1F511.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)
#464952
Deuteranopia (green-blind)
#6B654E
Tritanopia (blue-blind)
#BD0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f51;
/* rgb */ color: rgb(173, 31, 81);
/* oklch */ color: oklch(49.4% 0.178 6.5);
Tailwind
colors: {
  custom: {
    50: '#cc6b81',
    500: '#ad1f51',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f51;
$custom-light: #cc6b81;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f51",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 81
  },
  "hsl": {
    "h": 338.873,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.17778,
    "h": 6.5
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD1F51

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

Preview Lab → · Contrast checker → · Palette generator →

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