#AB404F#AB404F

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

Color values

HEX#AB404F
RGBrgb(171, 64, 79)
HSLhsl(352, 46%, 46%)
HSVhsv(352, 63%, 67%)
CMYKcmyk(0%, 62.6%, 53.8%, 32.9%)
CIE-LABlab(42.60, 45.01, 14.47)
CIE-LCHlch(42.60, 47.28, 17.82°)
OKLaboklab(52.27% 0.1355 0.0363)
OKLCHoklch(52.27% 0.14 15)
XYZxyz(20.0410, 12.8918, 8.8286)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB404F #40AB9C
analogous
#AB4084 #AB404F #AB6640
triadic
#AB404F #4FAB40 #404FAB
tetradic
#AB404F #84AB40 #40AB9C #6640AB
square
#AB404F #84AB40 #40AB9C #6640AB
split-complementary
#AB404F #40AB66 #4084AB
monochromatic
#521F26 #7E2F3A #AB404F #C56371 #D5909A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB404F#FFFFFF#000000##FFFFFF
##AB404F1.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)
#59574F
Deuteranopia (green-blind)
#746D4C
Tritanopia (blue-blind)
#BA2E46
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab404f;
/* rgb */ color: rgb(171, 64, 79);
/* oklch */ color: oklch(52.3% 0.140 15.0);
Tailwind
colors: {
  custom: {
    50: '#c97a80',
    500: '#ab404f',
    950: '#000000',
  },
}
SCSS
$custom: #ab404f;
$custom-light: #c97a80;
$custom-dark: #000000;
JSON
{
  "hex": "#ab404f",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 351.589,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.14028,
    "h": 15
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#AB404F
secondary
#86C1B8
accent
#D5C353
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AB404F

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

Preview Lab → · Contrast checker → · Palette generator →

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