#AB4487#AB4487

#AB4487 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.155 H 343.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB4487
RGBrgb(171, 68, 135)
HSLhsl(321, 43%, 47%)
HSVhsv(321, 60%, 67%)
CMYKcmyk(0%, 60.2%, 21.1%, 32.9%)
CIE-LABlab(45.00, 49.70, -16.47)
CIE-LCHlch(45.00, 52.35, 341.66°)
OKLaboklab(54.62% 0.1487 -0.0439)
OKLCHoklch(54.62% 0.155 343.6)
XYZxyz(23.2355, 14.5435, 24.5004)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4487 #44AB68
analogous
#9C44AB #AB4487 #AB4454
triadic
#AB4487 #87AB44 #4487AB
tetradic
#AB4487 #AB9C44 #44AB68 #4454AB
square
#AB4487 #AB9C44 #44AB68 #4454AB
split-complementary
#AB4487 #54AB44 #44AB9C
monochromatic
#532142 #7F3364 #AB4487 #C369A4 #D595BE

Accessibility & contrast

On white

5.37
#AB4487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB4487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4487
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4487#FFFFFF#000000##FFFFFF
##AB44871.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6089
Deuteranopia (green-blind)
#6A7184
Tritanopia (blue-blind)
#B5445F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4487;
/* rgb */ color: rgb(171, 68, 135);
/* oklch */ color: oklch(54.6% 0.155 343.6);
Tailwind
colors: {
  custom: {
    50: '#c77eaa',
    500: '#ab4487',
    950: '#000000',
  },
}
SCSS
$custom: #ab4487;
$custom-light: #c77eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4487",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 320.971,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.15503,
    "h": 343.6
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#AB4487
secondary
#8AC09D
accent
#D38155
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4487

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

Preview Lab → · Contrast checker → · Palette generator →

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