#AB4281#AB4281

#AB4281 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.1% C 0.154 H 346.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB4281
RGBrgb(171, 66, 129)
HSLhsl(324, 44%, 46%)
HSVhsv(324, 61%, 67%)
CMYKcmyk(0%, 61.4%, 24.6%, 32.9%)
CIE-LABlab(44.44, 49.75, -13.69)
CIE-LCHlch(44.44, 51.60, 344.62°)
OKLaboklab(54.12% 0.15 -0.0361)
OKLCHoklch(54.12% 0.154 346.4)
XYZxyz(22.7060, 14.1415, 22.2984)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4281 #42AB6C
analogous
#A142AB #AB4281 #AB424D
triadic
#AB4281 #81AB42 #4281AB
tetradic
#AB4281 #ABA142 #42AB6C #424DAB
square
#AB4281 #ABA142 #42AB6C #424DAB
split-complementary
#AB4281 #4DAB42 #42ABA1
monochromatic
#53203E #7F3160 #AB4281 #C4669E #D592BA

Accessibility & contrast

On white

5.49
#AB4281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB4281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4281
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4281#FFFFFF#000000##FFFFFF
##AB42811.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E83
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#B6405C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4281;
/* rgb */ color: rgb(171, 66, 129);
/* oklch */ color: oklch(54.1% 0.154 346.4);
Tailwind
colors: {
  custom: {
    50: '#c77ca5',
    500: '#ab4281',
    950: '#000000',
  },
}
SCSS
$custom: #ab4281;
$custom-light: #c77ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4281",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 324,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.15424,
    "h": 346.4
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#AB4281
secondary
#88C09F
accent
#D48754
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4281

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

Preview Lab → · Contrast checker → · Palette generator →

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