#AD1F42#AD1F42

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

Color values

HEX#AD1F42
RGBrgb(173, 31, 66)
HSLhsl(345, 70%, 40%)
HSVhsv(345, 82%, 68%)
CMYKcmyk(0%, 82.1%, 61.8%, 32.2%)
CIE-LABlab(38.31, 56.78, 16.90)
CIE-LCHlch(38.31, 59.24, 16.58°)
OKLaboklab(49.05% 0.1708 0.0413)
OKLCHoklch(49.05% 0.176 13.6)
XYZxyz(18.7089, 10.2604, 6.1485)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1F42 #1FAD8A
analogous
#AD1F89 #AD1F42 #AD431F
triadic
#AD1F42 #42AD1F #1F42AD
tetradic
#AD1F42 #89AD1F #1FAD8A #431FAD
square
#AD1F42 #89AD1F #1FAD8A #431FAD
split-complementary
#AD1F42 #1FAD43 #1F89AD
monochromatic
#450C1A #79162E #AD1F42 #DA2F59 #E36383

Accessibility & contrast

On white

6.88
#AD1F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#AD1F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1F42
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1F42#FFFFFF#000000##FFFFFF
##AD1F421.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494842
Deuteranopia (green-blind)
#6D653E
Tritanopia (blue-blind)
#BE002F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ad1f42;
/* rgb */ color: rgb(173, 31, 66);
/* oklch */ color: oklch(49.1% 0.176 13.6);
Tailwind
colors: {
  custom: {
    50: '#cd6b76',
    500: '#ad1f42',
    950: '#000000',
  },
}
SCSS
$custom: #ad1f42;
$custom-light: #cd6b76;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1f42",
  "rgb": {
    "r": 173,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 345.211,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.49053,
    "c": 0.17572,
    "h": 13.6
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#AD1F42
secondary
#60C8AE
accent
#ECC13B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B

Preview Lab

Preview with #AD1F42

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

Preview Lab → · Contrast checker → · Palette generator →

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