#AB487E#AB487E

#AB487E is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.8% C 0.143 H 349.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB487E
RGBrgb(171, 72, 126)
HSLhsl(327, 41%, 48%)
HSVhsv(327, 58%, 67%)
CMYKcmyk(0%, 57.9%, 26.3%, 32.9%)
CIE-LABlab(45.36, 46.54, -10.46)
CIE-LCHlch(45.36, 47.71, 347.33°)
OKLaboklab(54.77% 0.1406 -0.0273)
OKLCHoklch(54.77% 0.143 349)
XYZxyz(22.8787, 14.8012, 21.3866)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB487E #48AB75
analogous
#A748AB #AB487E #AB484C
triadic
#AB487E #7EAB48 #487EAB
tetradic
#AB487E #ABA748 #48AB75 #484CAB
square
#AB487E #ABA748 #48AB75 #484CAB
split-complementary
#AB487E #4CAB48 #48ABA7
monochromatic
#55243F #80365E #AB487E #C26E9C #D499B9

Accessibility & contrast

On white

5.30
#AB487E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB487E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB487E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB487E#FFFFFF#000000##FFFFFF
##AB487E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536180
Deuteranopia (green-blind)
#6F727C
Tritanopia (blue-blind)
#B6455D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab487e;
/* rgb */ color: rgb(171, 72, 126);
/* oklch */ color: oklch(54.8% 0.143 349.0);
Tailwind
colors: {
  custom: {
    50: '#c780a3',
    500: '#ab487e',
    950: '#000000',
  },
}
SCSS
$custom: #ab487e;
$custom-light: #c780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab487e",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 327.273,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.14324,
    "h": 349
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#AB487E
secondary
#8EC0A5
accent
#D18E57
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB487E

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

Preview Lab → · Contrast checker → · Palette generator →

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