#AD1F45#AD1F45

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

Color values

HEX#AD1F45
RGBrgb(173, 31, 69)
HSLhsl(344, 70%, 40%)
HSVhsv(344, 82%, 68%)
CMYKcmyk(0%, 82.1%, 60.1%, 32.2%)
CIE-LABlab(38.37, 56.97, 15.07)
CIE-LCHlch(38.37, 58.93, 14.82°)
OKLaboklab(49.12% 0.172 0.0372)
OKLCHoklch(49.12% 0.176 12.2)
XYZxyz(18.7997, 10.2967, 6.6266)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F45 #1FAD87
analogous
#AD1F8C #AD1F45 #AD401F
triadic
#AD1F45 #45AD1F #1F45AD
tetradic
#AD1F45 #8CAD1F #1FAD87 #401FAD
square
#AD1F45 #8CAD1F #1FAD87 #401FAD
split-complementary
#AD1F45 #1FAD40 #1F8CAD
monochromatic
#450C1C #791630 #AD1F45 #DA2F5D #E36385

Accessibility & contrast

On white

6.87
#AD1F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD1F45
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F45#FFFFFF#000000##FFFFFF
##AD1F451.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494845
Deuteranopia (green-blind)
#6D6541
Tritanopia (blue-blind)
#BE0030
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ad1f45;
/* rgb */ color: rgb(173, 31, 69);
/* oklch */ color: oklch(49.1% 0.176 12.2);
Tailwind
colors: {
  custom: {
    50: '#cd6b78',
    500: '#ad1f45',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f45;
$custom-light: #cd6b78;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f45",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 343.944,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.4912,
    "c": 0.17597,
    "h": 12.2
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#AD1F45
secondary
#60C8AC
accent
#ECBD3B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AD1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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