#AB405C#AB405C

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

Color values

HEX#AB405C
RGBrgb(171, 64, 92)
HSLhsl(344, 46%, 46%)
HSVhsv(344, 63%, 67%)
CMYKcmyk(0%, 62.6%, 46.2%, 32.9%)
CIE-LABlab(42.91, 46.21, 6.85)
CIE-LCHlch(42.91, 46.72, 8.43°)
OKLaboklab(52.6% 0.1406 0.018)
OKLCHoklch(52.6% 0.142 7.3)
XYZxyz(20.5613, 13.0999, 11.5689)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB405C #40AB8F
analogous
#AB4091 #AB405C #AB5940
triadic
#AB405C #5CAB40 #405CAB
tetradic
#AB405C #91AB40 #40AB8F #5940AB
square
#AB405C #91AB40 #40AB8F #5940AB
split-complementary
#AB405C #40AB59 #4091AB
monochromatic
#521F2C #7E2F44 #AB405C #C5637D #D590A2

Accessibility & contrast

On white

5.80
#AB405C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB405C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB405C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB405C#FFFFFF#000000##FFFFFF
##AB405C1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56585D
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#BA324B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab405c;
/* rgb */ color: rgb(171, 64, 92);
/* oklch */ color: oklch(52.6% 0.142 7.3);
Tailwind
colors: {
  custom: {
    50: '#c97a8a',
    500: '#ab405c',
    950: '#000000',
  },
}
SCSS
$custom: #ab405c;
$custom-light: #c97a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab405c",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 344.299,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.14177,
    "h": 7.3
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#AB405C
secondary
#86C1B1
accent
#D5B353
background
#FCF7F8
surface
#F9EEF0
border
#D2C9CB
text
#140A0B
muted
#827C7C

Preview Lab

Preview with #AB405C

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

Preview Lab → · Contrast checker → · Palette generator →

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