#AD1F54#AD1F54

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

Color values

HEX#AD1F54
RGBrgb(173, 31, 84)
HSLhsl(338, 70%, 40%)
HSVhsv(338, 82%, 68%)
CMYKcmyk(0%, 82.1%, 51.4%, 32.2%)
CIE-LABlab(38.74, 58.08, 5.99)
CIE-LCHlch(38.74, 58.38, 5.89°)
OKLaboklab(49.51% 0.1777 0.0158)
OKLCHoklch(49.51% 0.178 5.1)
XYZxyz(19.3256, 10.5071, 9.3962)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F54 #1FAD78
analogous
#AD1F9B #AD1F54 #AD311F
triadic
#AD1F54 #54AD1F #1F54AD
tetradic
#AD1F54 #9BAD1F #1FAD78 #311FAD
square
#AD1F54 #9BAD1F #1FAD78 #311FAD
split-complementary
#AD1F54 #1FAD31 #1F9BAD
monochromatic
#450C22 #79163B #AD1F54 #DA2F6F #E36393

Accessibility & contrast

On white

6.77
#AD1F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AD1F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F54
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F54#FFFFFF#000000##FFFFFF
##AD1F541.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454955
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#BD0037
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f54;
/* rgb */ color: rgb(173, 31, 84);
/* oklch */ color: oklch(49.5% 0.178 5.1);
Tailwind
colors: {
  custom: {
    50: '#cc6b83',
    500: '#ad1f54',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f54;
$custom-light: #cc6b83;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f54",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 337.606,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.17844,
    "h": 5.1
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#AD1F54
secondary
#60C8A1
accent
#ECAA3B
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AD1F54

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

Preview Lab → · Contrast checker → · Palette generator →

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