#AB2859#AB2859

#AB2859 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.170 H 3.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AB2859
RGBrgb(171, 40, 89)
HSLhsl(338, 62%, 41%)
HSVhsv(338, 77%, 67%)
CMYKcmyk(0%, 76.6%, 48%, 32.9%)
CIE-LABlab(39.41, 55.34, 3.72)
CIE-LCHlch(39.41, 55.47, 3.85°)
OKLaboklab(49.98% 0.1695 0.0101)
OKLCHoklch(49.98% 0.17 3.4)
XYZxyz(19.3582, 10.8994, 10.5337)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2859 #28AB7A
analogous
#AB289B #AB2859 #AB3928
triadic
#AB2859 #59AB28 #2859AB
tetradic
#AB2859 #9BAB28 #28AB7A #3928AB
square
#AB2859 #9BAB28 #28AB7A #3928AB
split-complementary
#AB2859 #28AB39 #289BAB
monochromatic
#481125 #791C3F #AB2859 #D23E76 #DE7099

Accessibility & contrast

On white

6.61
#AB2859 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2859 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2859
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2859#FFFFFF#000000##FFFFFF
##AB28591.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5A
Deuteranopia (green-blind)
#6A6656
Tritanopia (blue-blind)
#BA083D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2859;
/* rgb */ color: rgb(171, 40, 89);
/* oklch */ color: oklch(50.0% 0.170 3.4);
Tailwind
colors: {
  custom: {
    50: '#ca6f87',
    500: '#ab2859',
    950: '#000000',
  },
}
SCSS
$custom: #ab2859;
$custom-light: #ca6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2859",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 337.557,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.16983,
    "h": 3.4
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#AB2859
secondary
#6AC4A3
accent
#E5A843
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2859

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

Preview Lab → · Contrast checker → · Palette generator →

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