#AB404C#AB404C

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

Color values

HEX#AB404C
RGBrgb(171, 64, 76)
HSLhsl(353, 46%, 46%)
HSVhsv(353, 63%, 67%)
CMYKcmyk(0%, 62.6%, 55.6%, 32.9%)
CIE-LABlab(42.53, 44.76, 16.24)
CIE-LCHlch(42.53, 47.62, 19.94°)
OKLaboklab(52.2% 0.1343 0.0404)
OKLCHoklch(52.2% 0.14 16.7)
XYZxyz(19.9342, 12.8491, 8.2665)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB404C #40AB9F
analogous
#AB4081 #AB404C #AB6940
triadic
#AB404C #4CAB40 #404CAB
tetradic
#AB404C #81AB40 #40AB9F #6940AB
square
#AB404C #81AB40 #40AB9F #6940AB
split-complementary
#AB404C #40AB69 #4081AB
monochromatic
#521F24 #7E2F38 #AB404C #C5636E #D59098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB404C#FFFFFF#000000##FFFFFF
##AB404C1.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)
#5A564C
Deuteranopia (green-blind)
#756D49
Tritanopia (blue-blind)
#BB2D45
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab404c;
/* rgb */ color: rgb(171, 64, 76);
/* oklch */ color: oklch(52.2% 0.140 16.7);
Tailwind
colors: {
  custom: {
    50: '#c97a7d',
    500: '#ab404c',
    950: '#000000',
  },
}
SCSS
$custom: #ab404c;
$custom-light: #c97a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab404c",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 353.271,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.14023,
    "h": 16.7
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#AB404C
secondary
#86C1BA
accent
#D5C753
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140909
muted
#837B7B

Preview Lab

Preview with #AB404C

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

Preview Lab → · Contrast checker → · Palette generator →

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