#AD1F58#AD1F58

#AD1F58 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.179 H 3.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AD1F58
RGBrgb(173, 31, 88)
HSLhsl(336, 70%, 40%)
HSVhsv(336, 82%, 68%)
CMYKcmyk(0%, 82.1%, 49.1%, 32.2%)
CIE-LABlab(38.85, 58.41, 3.60)
CIE-LCHlch(38.85, 58.52, 3.53°)
OKLaboklab(49.63% 0.1792 0.0098)
OKLCHoklch(49.63% 0.179 3.1)
XYZxyz(19.4867, 10.5715, 10.2450)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F58 #1FAD74
analogous
#AD1F9F #AD1F58 #AD2D1F
triadic
#AD1F58 #58AD1F #1F58AD
tetradic
#AD1F58 #9FAD1F #1FAD74 #2D1FAD
square
#AD1F58 #9FAD1F #1FAD74 #2D1FAD
split-complementary
#AD1F58 #1FAD2D #1F9FAD
monochromatic
#450C23 #79163E #AD1F58 #DA2F74 #E36397

Accessibility & contrast

On white

6.74
#AD1F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AD1F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F58
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F58#FFFFFF#000000##FFFFFF
##AD1F581.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#6A6555
Tritanopia (blue-blind)
#BD0039
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f58;
/* rgb */ color: rgb(173, 31, 88);
/* oklch */ color: oklch(49.6% 0.179 3.1);
Tailwind
colors: {
  custom: {
    50: '#cc6b86',
    500: '#ad1f58',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f58;
$custom-light: #cc6b86;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f58",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 335.915,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49629,
    "c": 0.17946,
    "h": 3.1
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#AD1F58
secondary
#60C89E
accent
#ECA53B
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AD1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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