#AB405E#AB405E

#AB405E is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.7% C 0.142 H 6.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB405E
RGBrgb(171, 64, 94)
HSLhsl(343, 46%, 46%)
HSVhsv(343, 63%, 67%)
CMYKcmyk(0%, 62.6%, 45%, 32.9%)
CIE-LABlab(42.97, 46.42, 5.68)
CIE-LCHlch(42.97, 46.76, 6.98°)
OKLaboklab(52.66% 0.1414 0.0151)
OKLCHoklch(52.66% 0.142 6.1)
XYZxyz(20.6498, 13.1353, 12.0354)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB405E #40AB8D
analogous
#AB4093 #AB405E #AB5740
triadic
#AB405E #5EAB40 #405EAB
tetradic
#AB405E #93AB40 #40AB8D #5740AB
square
#AB405E #93AB40 #40AB8D #5740AB
split-complementary
#AB405E #40AB57 #4093AB
monochromatic
#521F2D #7E2F46 #AB405E #C5637F #D590A3

Accessibility & contrast

On white

5.79
#AB405E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB405E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB405E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB405E#FFFFFF#000000##FFFFFF
##AB405E1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56585F
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#B9324C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab405e;
/* rgb */ color: rgb(171, 64, 94);
/* oklch */ color: oklch(52.7% 0.142 6.1);
Tailwind
colors: {
  custom: {
    50: '#c87a8b',
    500: '#ab405e',
    950: '#000000',
  },
}
SCSS
$custom: #ab405e;
$custom-light: #c87a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab405e",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 343.178,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.14219,
    "h": 6.1
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#AB405E
secondary
#86C1B0
accent
#D5B153
background
#FCF7F8
surface
#F9EEF0
border
#D2C9CB
text
#140A0C
muted
#827C7D

Preview Lab

Preview with #AB405E

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

Preview Lab → · Contrast checker → · Palette generator →

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