#AD1F47#AD1F47

#AD1F47 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.176 H 11.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AD1F47
RGBrgb(173, 31, 71)
HSLhsl(343, 70%, 40%)
HSVhsv(343, 82%, 68%)
CMYKcmyk(0%, 82.1%, 59%, 32.2%)
CIE-LABlab(38.41, 57.10, 13.85)
CIE-LCHlch(38.41, 58.76, 13.64°)
OKLaboklab(49.17% 0.1728 0.0345)
OKLCHoklch(49.17% 0.176 11.3)
XYZxyz(18.8628, 10.3220, 6.9591)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F47 #1FAD85
analogous
#AD1F8E #AD1F47 #AD3E1F
triadic
#AD1F47 #47AD1F #1F47AD
tetradic
#AD1F47 #8EAD1F #1FAD85 #3E1FAD
square
#AD1F47 #8EAD1F #1FAD85 #3E1FAD
split-complementary
#AD1F47 #1FAD3E #1F8EAD
monochromatic
#450C1C #791632 #AD1F47 #DA2F5F #E36387

Accessibility & contrast

On white

6.85
#AD1F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AD1F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F47
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F47#FFFFFF#000000##FFFFFF
##AD1F471.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484848
Deuteranopia (green-blind)
#6C6543
Tritanopia (blue-blind)
#BE0031
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ad1f47;
/* rgb */ color: rgb(173, 31, 71);
/* oklch */ color: oklch(49.2% 0.176 11.3);
Tailwind
colors: {
  custom: {
    50: '#cd6b79',
    500: '#ad1f47',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f47;
$custom-light: #cd6b79;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f47",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 343.099,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.17618,
    "h": 11.3
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#AD1F47
secondary
#60C8AB
accent
#ECBB3B
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AD1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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