#AD1F4A#AD1F4A

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

Color values

HEX#AD1F4A
RGBrgb(173, 31, 74)
HSLhsl(342, 70%, 40%)
HSVhsv(342, 82%, 68%)
CMYKcmyk(0%, 82.1%, 57.2%, 32.2%)
CIE-LABlab(38.48, 57.31, 12.03)
CIE-LCHlch(38.48, 58.56, 11.85°)
OKLaboklab(49.24% 0.1739 0.0303)
OKLCHoklch(49.24% 0.177 9.9)
XYZxyz(18.9615, 10.3614, 7.4788)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F4A #1FAD82
analogous
#AD1F91 #AD1F4A #AD3B1F
triadic
#AD1F4A #4AAD1F #1F4AAD
tetradic
#AD1F4A #91AD1F #1FAD82 #3B1FAD
square
#AD1F4A #91AD1F #1FAD82 #3B1FAD
split-complementary
#AD1F4A #1FAD3B #1F91AD
monochromatic
#450C1E #791634 #AD1F4A #DA2F63 #E3638A

Accessibility & contrast

On white

6.84
#AD1F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AD1F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F4A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F4A#FFFFFF#000000##FFFFFF
##AD1F4A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48484B
Deuteranopia (green-blind)
#6C6546
Tritanopia (blue-blind)
#BD0032
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f4a;
/* rgb */ color: rgb(173, 31, 74);
/* oklch */ color: oklch(49.2% 0.177 9.9);
Tailwind
colors: {
  custom: {
    50: '#cc6b7c',
    500: '#ad1f4a',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f4a;
$custom-light: #cc6b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f4a",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 341.831,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49241,
    "c": 0.17655,
    "h": 9.9
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#AD1F4A
secondary
#60C8A8
accent
#ECB73B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AD1F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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