#AD1F4C#AD1F4C

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

Color values

HEX#AD1F4C
RGBrgb(173, 31, 76)
HSLhsl(341, 70%, 40%)
HSVhsv(341, 82%, 68%)
CMYKcmyk(0%, 82.1%, 56.1%, 32.2%)
CIE-LABlab(38.53, 57.46, 10.82)
CIE-LCHlch(38.53, 58.47, 10.66°)
OKLaboklab(49.29% 0.1747 0.0274)
OKLCHoklch(49.29% 0.177 8.9)
XYZxyz(19.0299, 10.3888, 7.8393)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F4C #1FAD80
analogous
#AD1F93 #AD1F4C #AD391F
triadic
#AD1F4C #4CAD1F #1F4CAD
tetradic
#AD1F4C #93AD1F #1FAD80 #391FAD
square
#AD1F4C #93AD1F #1FAD80 #391FAD
split-complementary
#AD1F4C #1FAD39 #1F93AD
monochromatic
#450C1E #791635 #AD1F4C #DA2F65 #E3638C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD1F4C#FFFFFF#000000##FFFFFF
##AD1F4C1.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)
#47494D
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#BD0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f4c;
/* rgb */ color: rgb(173, 31, 76);
/* oklch */ color: oklch(49.3% 0.177 8.9);
Tailwind
colors: {
  custom: {
    50: '#cc6b7d',
    500: '#ad1f4c',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f4c;
$custom-light: #cc6b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f4c",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 340.986,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.17686,
    "h": 8.9
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#AD1F4C
secondary
#60C8A7
accent
#ECB43B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150809
muted
#837A7B

Preview Lab

Preview with #AD1F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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