#AB486D#AB486D

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

Color values

HEX#AB486D
RGBrgb(171, 72, 109)
HSLhsl(338, 41%, 48%)
HSVhsv(338, 58%, 67%)
CMYKcmyk(0%, 57.9%, 36.3%, 32.9%)
CIE-LABlab(44.80, 44.34, -0.92)
CIE-LCHlch(44.80, 44.35, 358.82°)
OKLaboklab(54.17% 0.1351 -0.0018)
OKLCHoklch(54.17% 0.135 359.2)
XYZxyz(21.8735, 14.3991, 16.0924)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB486D #48AB86
analogous
#AB489E #AB486D #AB5548
triadic
#AB486D #6DAB48 #486DAB
tetradic
#AB486D #9EAB48 #48AB86 #5548AB
square
#AB486D #9EAB48 #48AB86 #5548AB
split-complementary
#AB486D #48AB55 #489EAB
monochromatic
#552436 #803652 #AB486D #C26E8E #D499AF

Accessibility & contrast

On white

5.41
#AB486D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB486D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB486D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB486D#FFFFFF#000000##FFFFFF
##AB486D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595E6E
Deuteranopia (green-blind)
#73716B
Tritanopia (blue-blind)
#B84056
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab486d;
/* rgb */ color: rgb(171, 72, 109);
/* oklch */ color: oklch(54.2% 0.135 359.2);
Tailwind
colors: {
  custom: {
    50: '#c77f96',
    500: '#ab486d',
    950: '#000000',
  },
}
SCSS
$custom: #ab486d;
$custom-light: #c77f96;
$custom-dark: #000000;
JSON
{
  "hex": "#ab486d",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 109
  },
  "hsl": {
    "h": 337.576,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54171,
    "c": 0.13512,
    "h": 359.2
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#AB486D
secondary
#8EC0AE
accent
#D1A357
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0D
muted
#827C7E

Preview Lab

Preview with #AB486D

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

Preview Lab → · Contrast checker → · Palette generator →

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