#AB2893#AB2893

#AB2893 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.199 H 336.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB2893
RGBrgb(171, 40, 147)
HSLhsl(311, 62%, 41%)
HSVhsv(311, 77%, 67%)
CMYKcmyk(0%, 76.6%, 14%, 32.9%)
CIE-LABlab(41.66, 62.21, -28.91)
CIE-LCHlch(41.66, 68.60, 335.07°)
OKLaboklab(52.36% 0.1832 -0.0788)
OKLCHoklch(52.36% 0.199 336.7)
XYZxyz(22.8203, 12.2842, 28.7674)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2893 #28AB40
analogous
#8228AB #AB2893 #AB2852
triadic
#AB2893 #93AB28 #2893AB
tetradic
#AB2893 #AB8228 #28AB40 #2852AB
square
#AB2893 #AB8228 #28AB40 #2852AB
split-complementary
#AB2893 #52AB28 #28AB82
monochromatic
#48113E #791C68 #AB2893 #D23EB7 #DE70C9

Accessibility & contrast

On white

6.08
#AB2893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2893
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2893#FFFFFF#000000##FFFFFF
##AB28931.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5696
Deuteranopia (green-blind)
#5A6990
Tritanopia (blue-blind)
#B4315B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2893;
/* rgb */ color: rgb(171, 40, 147);
/* oklch */ color: oklch(52.4% 0.199 336.7);
Tailwind
colors: {
  custom: {
    50: '#c870b3',
    500: '#ab2893',
    950: '#000000',
  },
}
SCSS
$custom: #ab2893;
$custom-light: #c870b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2893",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 310.992,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.19937,
    "h": 336.7
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#AB2893
secondary
#6AC47B
accent
#E56043
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2893

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

Preview Lab → · Contrast checker → · Palette generator →

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