#AB404B#AB404B

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

Color values

HEX#AB404B
RGBrgb(171, 64, 75)
HSLhsl(354, 46%, 46%)
HSVhsv(354, 63%, 67%)
CMYKcmyk(0%, 62.6%, 56.1%, 32.9%)
CIE-LABlab(42.51, 44.68, 16.82)
CIE-LCHlch(42.51, 47.74, 20.63°)
OKLaboklab(52.18% 0.1339 0.0418)
OKLCHoklch(52.18% 0.14 17.3)
XYZxyz(19.8997, 12.8353, 8.0848)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB404B #40ABA0
analogous
#AB4080 #AB404B #AB6A40
triadic
#AB404B #4BAB40 #404BAB
tetradic
#AB404B #80AB40 #40ABA0 #6A40AB
square
#AB404B #80AB40 #40ABA0 #6A40AB
split-complementary
#AB404B #40AB6A #4080AB
monochromatic
#521F24 #7E2F37 #AB404B #C5636D #D59097

Accessibility & contrast

On white

5.89
#AB404B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB404B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB404B#FFFFFF#000000##FFFFFF
##AB404B1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A564B
Deuteranopia (green-blind)
#756D48
Tritanopia (blue-blind)
#BB2D45
Achromatopsia (no color)
#646464

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#AB404B
secondary
#86C1BB
accent
#D5C853
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140909
muted
#837B7B

Preview Lab

Preview with #AB404B

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

Preview Lab → · Contrast checker → · Palette generator →

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