#AB404E#AB404E

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

Color values

HEX#AB404E
RGBrgb(171, 64, 78)
HSLhsl(352, 46%, 46%)
HSVhsv(352, 63%, 67%)
CMYKcmyk(0%, 62.6%, 54.4%, 32.9%)
CIE-LABlab(42.58, 44.93, 15.06)
CIE-LCHlch(42.58, 47.38, 18.53°)
OKLaboklab(52.24% 0.1351 0.0377)
OKLCHoklch(52.24% 0.14 15.6)
XYZxyz(20.0048, 12.8773, 8.6384)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB404E #40AB9D
analogous
#AB4083 #AB404E #AB6740
triadic
#AB404E #4EAB40 #404EAB
tetradic
#AB404E #83AB40 #40AB9D #6740AB
square
#AB404E #83AB40 #40AB9D #6740AB
split-complementary
#AB404E #40AB67 #4083AB
monochromatic
#521F25 #7E2F3A #AB404E #C56370 #D59099

Accessibility & contrast

On white

5.87
#AB404E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB404E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB404E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB404E#FFFFFF#000000##FFFFFF
##AB404E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59574E
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#BA2E46
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab404e;
/* rgb */ color: rgb(171, 64, 78);
/* oklch */ color: oklch(52.2% 0.140 15.6);
Tailwind
colors: {
  custom: {
    50: '#c97a7f',
    500: '#ab404e',
    950: '#000000',
  },
}
SCSS
$custom: #ab404e;
$custom-light: #c97a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab404e",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 352.15,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.14025,
    "h": 15.6
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB404E

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

Preview Lab → · Contrast checker → · Palette generator →

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