#AB405A#AB405A

#AB405A is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.141 H 8.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB405A
RGBrgb(171, 64, 90)
HSLhsl(345, 46%, 46%)
HSVhsv(345, 63%, 67%)
CMYKcmyk(0%, 62.6%, 47.4%, 32.9%)
CIE-LABlab(42.86, 46.02, 8.02)
CIE-LCHlch(42.86, 46.71, 9.88°)
OKLaboklab(52.55% 0.1399 0.0209)
OKLCHoklch(52.55% 0.141 8.5)
XYZxyz(20.4750, 13.0654, 11.1145)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB405A #40AB91
analogous
#AB408F #AB405A #AB5B40
triadic
#AB405A #5AAB40 #405AAB
tetradic
#AB405A #8FAB40 #40AB91 #5B40AB
square
#AB405A #8FAB40 #40AB91 #5B40AB
split-complementary
#AB405A #40AB5B #408FAB
monochromatic
#521F2B #7E2F43 #AB405A #C5637B #D590A1

Accessibility & contrast

On white

5.81
#AB405A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB405A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB405A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB405A#FFFFFF#000000##FFFFFF
##AB405A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57585B
Deuteranopia (green-blind)
#736D58
Tritanopia (blue-blind)
#BA314A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab405a;
/* rgb */ color: rgb(171, 64, 90);
/* oklch */ color: oklch(52.5% 0.141 8.5);
Tailwind
colors: {
  custom: {
    50: '#c97a88',
    500: '#ab405a',
    950: '#000000',
  },
}
SCSS
$custom: #ab405a;
$custom-light: #c97a88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab405a",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 345.421,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.14141,
    "h": 8.5
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#AB405A
secondary
#86C1B2
accent
#D5B553
background
#FCF7F8
surface
#F9EEEF
border
#D2C9CA
text
#140A0B
muted
#827C7C

Preview Lab

Preview with #AB405A

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

Preview Lab → · Contrast checker → · Palette generator →

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