#AB2892#AB2892

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

Color values

HEX#AB2892
RGBrgb(171, 40, 146)
HSLhsl(311, 62%, 41%)
HSVhsv(311, 77%, 67%)
CMYKcmyk(0%, 76.6%, 14.6%, 32.9%)
CIE-LABlab(41.62, 62.07, -28.38)
CIE-LCHlch(41.62, 68.25, 335.43°)
OKLaboklab(52.31% 0.1831 -0.0772)
OKLCHoklch(52.31% 0.199 337.1)
XYZxyz(22.7421, 12.2530, 28.3559)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2892 #28AB41
analogous
#8328AB #AB2892 #AB2851
triadic
#AB2892 #92AB28 #2892AB
tetradic
#AB2892 #AB8328 #28AB41 #2851AB
square
#AB2892 #AB8328 #28AB41 #2851AB
split-complementary
#AB2892 #51AB28 #28AB83
monochromatic
#48113D #791C68 #AB2892 #D23EB6 #DE70C9

Accessibility & contrast

On white

6.09
#AB2892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB2892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2892
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2892#FFFFFF#000000##FFFFFF
##AB28921.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2892;
/* rgb */ color: rgb(171, 40, 146);
/* oklch */ color: oklch(52.3% 0.199 337.1);
Tailwind
colors: {
  custom: {
    50: '#c870b2',
    500: '#ab2892',
    950: '#000000',
  },
}
SCSS
$custom: #ab2892;
$custom-light: #c870b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2892",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 311.45,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.19869,
    "h": 337.1
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#AB2892
secondary
#6AC47C
accent
#E56243
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2892

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

Preview Lab → · Contrast checker → · Palette generator →

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