#AB486B#AB486B

#AB486B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.1% C 0.134 H 0.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB486B
RGBrgb(171, 72, 107)
HSLhsl(339, 41%, 48%)
HSVhsv(339, 58%, 67%)
CMYKcmyk(0%, 57.9%, 37.4%, 32.9%)
CIE-LABlab(44.74, 44.10, 0.22)
CIE-LCHlch(44.74, 44.10, 0.29°)
OKLaboklab(54.11% 0.1344 0.0011)
OKLCHoklch(54.11% 0.134 0.5)
XYZxyz(21.7670, 14.3565, 15.5318)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB486B #48AB88
analogous
#AB489C #AB486B #AB5648
triadic
#AB486B #6BAB48 #486BAB
tetradic
#AB486B #9CAB48 #48AB88 #5648AB
square
#AB486B #9CAB48 #48AB88 #5648AB
split-complementary
#AB486B #48AB56 #489CAB
monochromatic
#552435 #803650 #AB486B #C26E8C #D499AE

Accessibility & contrast

On white

5.43
#AB486B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB486B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB486B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB486B#FFFFFF#000000##FFFFFF
##AB486B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595E6C
Deuteranopia (green-blind)
#737169
Tritanopia (blue-blind)
#B83F55
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab486b;
/* rgb */ color: rgb(171, 72, 107);
/* oklch */ color: oklch(54.1% 0.134 0.5);
Tailwind
colors: {
  custom: {
    50: '#c77f95',
    500: '#ab486b',
    950: '#000000',
  },
}
SCSS
$custom: #ab486b;
$custom-light: #c77f95;
$custom-dark: #000000;
JSON
{
  "hex": "#ab486b",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 107
  },
  "hsl": {
    "h": 338.788,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.1344,
    "h": 0.5
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#AB486B
secondary
#8EC0AF
accent
#D1A657
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AB486B

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

Preview Lab → · Contrast checker → · Palette generator →

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