#AD1F5D#AD1F5D

#AD1F5D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.181 H 0.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AD1F5D
RGBrgb(173, 31, 93)
HSLhsl(334, 70%, 40%)
HSVhsv(334, 82%, 68%)
CMYKcmyk(0%, 82.1%, 46.2%, 32.2%)
CIE-LABlab(39.00, 58.85, 0.63)
CIE-LCHlch(39.00, 58.85, 0.62°)
OKLaboklab(49.79% 0.1809 0.0023)
OKLCHoklch(49.79% 0.181 0.7)
XYZxyz(19.7010, 10.6572, 11.3734)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F5D #1FAD6F
analogous
#AD1FA4 #AD1F5D #AD281F
triadic
#AD1F5D #5DAD1F #1F5DAD
tetradic
#AD1F5D #A4AD1F #1FAD6F #281FAD
square
#AD1F5D #A4AD1F #1FAD6F #281FAD
split-complementary
#AD1F5D #1FAD28 #1FA4AD
monochromatic
#450C25 #791641 #AD1F5D #DA2F7A #E3639B

Accessibility & contrast

On white

6.71
#AD1F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AD1F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F5D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F5D#FFFFFF#000000##FFFFFF
##AD1F5D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5E
Deuteranopia (green-blind)
#69655A
Tritanopia (blue-blind)
#BC003C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ad1f5d;
/* rgb */ color: rgb(173, 31, 93);
/* oklch */ color: oklch(49.8% 0.181 0.7);
Tailwind
colors: {
  custom: {
    50: '#cb6c8a',
    500: '#ad1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f5d;
$custom-light: #cb6c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f5d",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 333.803,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.18093,
    "h": 0.7
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#AD1F5D
secondary
#60C89B
accent
#EC9F3B
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AD1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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