#AB288D#AB288D

#AB288D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.195 H 339.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB288D
RGBrgb(171, 40, 141)
HSLhsl(314, 62%, 41%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 76.6%, 17.5%, 32.9%)
CIE-LABlab(41.38, 61.36, -25.71)
CIE-LCHlch(41.38, 66.53, 337.26°)
OKLaboklab(52.05% 0.1825 -0.0696)
OKLCHoklch(52.05% 0.195 339.1)
XYZxyz(22.3617, 12.1008, 26.3522)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB288D #28AB46
analogous
#8828AB #AB288D #AB284C
triadic
#AB288D #8DAB28 #288DAB
tetradic
#AB288D #AB8828 #28AB46 #284CAB
square
#AB288D #AB8828 #28AB46 #284CAB
split-complementary
#AB288D #4CAB28 #28AB88
monochromatic
#48113B #791C64 #AB288D #D23EB0 #DE70C4

Accessibility & contrast

On white

6.14
#AB288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB288D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB288D#FFFFFF#000000##FFFFFF
##AB288D1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#B52E58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab288d;
/* rgb */ color: rgb(171, 40, 141);
/* oklch */ color: oklch(52.1% 0.195 339.1);
Tailwind
colors: {
  custom: {
    50: '#c870ae',
    500: '#ab288d',
    950: '#000000',
  },
}
SCSS
$custom: #ab288d;
$custom-light: #c870ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab288d",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 313.74,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.19534,
    "h": 339.1
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#AB288D
secondary
#6AC47F
accent
#E56843
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB288D

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

Preview Lab → · Contrast checker → · Palette generator →

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