#AD1F4D#AD1F4D

#AD1F4D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 8.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AD1F4D
RGBrgb(173, 31, 77)
HSLhsl(341, 70%, 40%)
HSVhsv(341, 82%, 68%)
CMYKcmyk(0%, 82.1%, 55.5%, 32.2%)
CIE-LABlab(38.56, 57.53, 10.21)
CIE-LCHlch(38.56, 58.43, 10.06°)
OKLaboklab(49.32% 0.1751 0.026)
OKLCHoklch(49.32% 0.177 8.4)
XYZxyz(19.0650, 10.4028, 8.0238)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F4D #1FAD7F
analogous
#AD1F94 #AD1F4D #AD381F
triadic
#AD1F4D #4DAD1F #1F4DAD
tetradic
#AD1F4D #94AD1F #1FAD7F #381FAD
square
#AD1F4D #94AD1F #1FAD7F #381FAD
split-complementary
#AD1F4D #1FAD38 #1F94AD
monochromatic
#450C1F #791636 #AD1F4D #DA2F67 #E3638D

Accessibility & contrast

On white

6.82
#AD1F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AD1F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F4D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F4D#FFFFFF#000000##FFFFFF
##AD1F4D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#6B654A
Tritanopia (blue-blind)
#BD0034
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f4d;
/* rgb */ color: rgb(173, 31, 77);
/* oklch */ color: oklch(49.3% 0.177 8.4);
Tailwind
colors: {
  custom: {
    50: '#cc6b7e',
    500: '#ad1f4d',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f4d;
$custom-light: #cc6b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f4d",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 340.563,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.17702,
    "h": 8.4
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#AD1F4D
secondary
#60C8A6
accent
#ECB33B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AD1F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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