#AB486F#AB486F

#AB486F is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.2% C 0.136 H 358.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB486F
RGBrgb(171, 72, 111)
HSLhsl(336, 41%, 48%)
HSVhsv(336, 58%, 67%)
CMYKcmyk(0%, 57.9%, 35.1%, 32.9%)
CIE-LABlab(44.86, 44.58, -2.05)
CIE-LCHlch(44.86, 44.63, 357.37°)
OKLaboklab(54.24% 0.1358 -0.0048)
OKLCHoklch(54.24% 0.136 358)
XYZxyz(21.9823, 14.4426, 16.6659)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB486F #48AB84
analogous
#AB48A0 #AB486F #AB5348
triadic
#AB486F #6FAB48 #486FAB
tetradic
#AB486F #A0AB48 #48AB84 #5348AB
square
#AB486F #A0AB48 #48AB84 #5348AB
split-complementary
#AB486F #48AB53 #48A0AB
monochromatic
#552437 #803653 #AB486F #C26E8F #D499B0

Accessibility & contrast

On white

5.40
#AB486F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB486F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB486F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB486F#FFFFFF#000000##FFFFFF
##AB486F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F70
Deuteranopia (green-blind)
#72716D
Tritanopia (blue-blind)
#B84057
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab486f;
/* rgb */ color: rgb(171, 72, 111);
/* oklch */ color: oklch(54.2% 0.136 358.0);
Tailwind
colors: {
  custom: {
    50: '#c77f98',
    500: '#ab486f',
    950: '#000000',
  },
}
SCSS
$custom: #ab486f;
$custom-light: #c77f98;
$custom-dark: #000000;
JSON
{
  "hex": "#ab486f",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 111
  },
  "hsl": {
    "h": 336.364,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.1359,
    "h": 358
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#AB486F
secondary
#8EC0AD
accent
#D1A157
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0D
muted
#827C7E

Preview Lab

Preview with #AB486F

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

Preview Lab → · Contrast checker → · Palette generator →

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