#AB404D#AB404D

#AB404D is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.140 H 16.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB404D
RGBrgb(171, 64, 77)
HSLhsl(353, 46%, 46%)
HSVhsv(353, 63%, 67%)
CMYKcmyk(0%, 62.6%, 55%, 32.9%)
CIE-LABlab(42.56, 44.84, 15.65)
CIE-LCHlch(42.56, 47.50, 19.23°)
OKLaboklab(52.22% 0.1347 0.0391)
OKLCHoklch(52.22% 0.14 16.2)
XYZxyz(19.9692, 12.8631, 8.4510)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB404D #40AB9E
analogous
#AB4082 #AB404D #AB6840
triadic
#AB404D #4DAB40 #404DAB
tetradic
#AB404D #82AB40 #40AB9E #6840AB
square
#AB404D #82AB40 #40AB9E #6840AB
split-complementary
#AB404D #40AB68 #4082AB
monochromatic
#521F25 #7E2F39 #AB404D #C5636F #D59098

Accessibility & contrast

On white

5.88
#AB404D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB404D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB404D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB404D#FFFFFF#000000##FFFFFF
##AB404D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59574D
Deuteranopia (green-blind)
#756D4A
Tritanopia (blue-blind)
#BB2D45
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab404d;
/* rgb */ color: rgb(171, 64, 77);
/* oklch */ color: oklch(52.2% 0.140 16.2);
Tailwind
colors: {
  custom: {
    50: '#c97a7e',
    500: '#ab404d',
    950: '#000000',
  },
}
SCSS
$custom: #ab404d;
$custom-light: #c97a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab404d",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 77
  },
  "hsl": {
    "h": 352.71,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.14023,
    "h": 16.2
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#AB404D
secondary
#86C1B9
accent
#D5C553
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AB404D

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

Preview Lab → · Contrast checker → · Palette generator →

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