#AB288C#AB288C

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

Color values

HEX#AB288C
RGBrgb(171, 40, 140)
HSLhsl(314, 62%, 41%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 76.6%, 18.1%, 32.9%)
CIE-LABlab(41.33, 61.22, -25.18)
CIE-LCHlch(41.33, 66.19, 337.65°)
OKLaboklab(52.01% 0.1824 -0.0681)
OKLCHoklch(52.01% 0.195 339.5)
XYZxyz(22.2876, 12.0712, 25.9621)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB288C #28AB47
analogous
#8928AB #AB288C #AB284B
triadic
#AB288C #8CAB28 #288CAB
tetradic
#AB288C #AB8928 #28AB47 #284BAB
square
#AB288C #AB8928 #28AB47 #284BAB
split-complementary
#AB288C #4BAB28 #28AB89
monochromatic
#48113B #791C63 #AB288C #D23EAF #DE70C4

Accessibility & contrast

On white

6.15
#AB288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB288C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB288C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB288C#FFFFFF#000000##FFFFFF
##AB288C1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548F
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#B52D57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab288c;
/* rgb */ color: rgb(171, 40, 140);
/* oklch */ color: oklch(52.0% 0.195 339.5);
Tailwind
colors: {
  custom: {
    50: '#c870ae',
    500: '#ab288c',
    950: '#000000',
  },
}
SCSS
$custom: #ab288c;
$custom-light: #c870ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab288c",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 314.198,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.19468,
    "h": 339.5
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#AB288C
secondary
#6AC480
accent
#E56943
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB288C

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

Preview Lab → · Contrast checker → · Palette generator →

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