#AD1F4F#AD1F4F

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

Color values

HEX#AD1F4F
RGBrgb(173, 31, 79)
HSLhsl(340, 70%, 40%)
HSVhsv(340, 82%, 68%)
CMYKcmyk(0%, 82.1%, 54.3%, 32.2%)
CIE-LABlab(38.61, 57.68, 9.00)
CIE-LCHlch(38.61, 58.38, 8.87°)
OKLaboklab(49.37% 0.1759 0.0231)
OKLCHoklch(49.37% 0.177 7.5)
XYZxyz(19.1367, 10.4315, 8.4014)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F4F #1FAD7D
analogous
#AD1F96 #AD1F4F #AD361F
triadic
#AD1F4F #4FAD1F #1F4FAD
tetradic
#AD1F4F #96AD1F #1FAD7D #361FAD
square
#AD1F4F #96AD1F #1FAD7D #361FAD
split-complementary
#AD1F4F #1FAD36 #1F96AD
monochromatic
#450C20 #791637 #AD1F4F #DA2F69 #E3638F

Accessibility & contrast

On white

6.81
#AD1F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AD1F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F4F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F4F#FFFFFF#000000##FFFFFF
##AD1F4F1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464950
Deuteranopia (green-blind)
#6B654C
Tritanopia (blue-blind)
#BD0035
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ad1f4f;
/* rgb */ color: rgb(173, 31, 79);
/* oklch */ color: oklch(49.4% 0.177 7.5);
Tailwind
colors: {
  custom: {
    50: '#cc6b80',
    500: '#ad1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f4f;
$custom-light: #cc6b80;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f4f",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 339.718,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.17738,
    "h": 7.5
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#AD1F4F
secondary
#60C8A5
accent
#ECB13B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AD1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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