#AB2894#AB2894

#AB2894 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.4% C 0.200 H 336.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB2894
RGBrgb(171, 40, 148)
HSLhsl(311, 62%, 41%)
HSVhsv(311, 77%, 67%)
CMYKcmyk(0%, 76.6%, 13.5%, 32.9%)
CIE-LABlab(41.71, 62.36, -29.44)
CIE-LCHlch(41.71, 68.96, 334.72°)
OKLaboklab(52.41% 0.1832 -0.0803)
OKLCHoklch(52.41% 0.2 336.3)
XYZxyz(22.8991, 12.3158, 29.1824)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2894 #28AB3F
analogous
#8128AB #AB2894 #AB2853
triadic
#AB2894 #94AB28 #2894AB
tetradic
#AB2894 #AB8128 #28AB3F #2853AB
square
#AB2894 #AB8128 #28AB3F #2853AB
split-complementary
#AB2894 #53AB28 #28AB81
monochromatic
#48113E #791C69 #AB2894 #D23EB8 #DE70CA

Accessibility & contrast

On white

6.06
#AB2894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB2894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2894
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2894#FFFFFF#000000##FFFFFF
##AB28941.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#B4325C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2894;
/* rgb */ color: rgb(171, 40, 148);
/* oklch */ color: oklch(52.4% 0.200 336.3);
Tailwind
colors: {
  custom: {
    50: '#c871b4',
    500: '#ab2894',
    950: '#000000',
  },
}
SCSS
$custom: #ab2894;
$custom-light: #c871b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2894",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 310.534,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.20005,
    "h": 336.3
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#AB2894
secondary
#6AC47A
accent
#E55F43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2894

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

Preview Lab → · Contrast checker → · Palette generator →

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