#AB405F#AB405F

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

Color values

HEX#AB405F
RGBrgb(171, 64, 95)
HSLhsl(343, 46%, 46%)
HSVhsv(343, 63%, 67%)
CMYKcmyk(0%, 62.6%, 44.4%, 32.9%)
CIE-LABlab(42.99, 46.52, 5.10)
CIE-LCHlch(42.99, 46.80, 6.26°)
OKLaboklab(52.69% 0.1418 0.0136)
OKLCHoklch(52.69% 0.142 5.5)
XYZxyz(20.6950, 13.1534, 12.2733)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB405F #40AB8C
analogous
#AB4094 #AB405F #AB5640
triadic
#AB405F #5FAB40 #405FAB
tetradic
#AB405F #94AB40 #40AB8C #5640AB
square
#AB405F #94AB40 #40AB8C #5640AB
split-complementary
#AB405F #40AB56 #4094AB
monochromatic
#521F2E #7E2F46 #AB405F #C56380 #D590A4

Accessibility & contrast

On white

5.78
#AB405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB405F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB405F#FFFFFF#000000##FFFFFF
##AB405F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565860
Deuteranopia (green-blind)
#726D5D
Tritanopia (blue-blind)
#B9334C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab405f;
/* rgb */ color: rgb(171, 64, 95);
/* oklch */ color: oklch(52.7% 0.142 5.5);
Tailwind
colors: {
  custom: {
    50: '#c87a8c',
    500: '#ab405f',
    950: '#000000',
  },
}
SCSS
$custom: #ab405f;
$custom-light: #c87a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab405f",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 342.617,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.14242,
    "h": 5.5
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB405F

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

Preview Lab → · Contrast checker → · Palette generator →

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