#AB2489#AB2489

#AB2489 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.6% C 0.197 H 340.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB2489
RGBrgb(171, 36, 137)
HSLhsl(315, 65%, 41%)
HSVhsv(315, 79%, 67%)
CMYKcmyk(0%, 78.9%, 19.9%, 32.9%)
CIE-LABlab(40.78, 61.98, -24.19)
CIE-LCHlch(40.78, 66.53, 338.68°)
OKLaboklab(51.57% 0.1856 -0.0653)
OKLCHoklch(51.57% 0.197 340.6)
XYZxyz(21.9415, 11.7281, 24.7703)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2489 #24AB46
analogous
#8924AB #AB2489 #AB2446
triadic
#AB2489 #89AB24 #2489AB
tetradic
#AB2489 #AB8924 #24AB46 #2446AB
square
#AB2489 #AB8924 #24AB46 #2446AB
split-complementary
#AB2489 #46AB24 #24AB89
monochromatic
#460F38 #781960 #AB2489 #D537AD #E06AC2

Accessibility & contrast

On white

6.28
#AB2489 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2489 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2489
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2489#FFFFFF#000000##FFFFFF
##AB24891.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528C
Deuteranopia (green-blind)
#5C6886
Tritanopia (blue-blind)
#B62855
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2489;
/* rgb */ color: rgb(171, 36, 137);
/* oklch */ color: oklch(51.6% 0.197 340.6);
Tailwind
colors: {
  custom: {
    50: '#c86fab',
    500: '#ab2489',
    950: '#000000',
  },
}
SCSS
$custom: #ab2489;
$custom-light: #c86fab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2489",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 315.111,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.1967,
    "h": 340.6
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#AB2489
secondary
#65C67D
accent
#E86A40
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2489

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

Preview Lab → · Contrast checker → · Palette generator →

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