#AB2858#AB2858

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

Color values

HEX#AB2858
RGBrgb(171, 40, 88)
HSLhsl(338, 62%, 41%)
HSVhsv(338, 77%, 67%)
CMYKcmyk(0%, 76.6%, 48.5%, 32.9%)
CIE-LABlab(39.38, 55.25, 4.32)
CIE-LCHlch(39.38, 55.42, 4.47°)
OKLaboklab(49.95% 0.1692 0.0116)
OKLCHoklch(49.95% 0.17 3.9)
XYZxyz(19.3165, 10.8827, 10.3140)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2858 #28AB7B
analogous
#AB289A #AB2858 #AB3A28
triadic
#AB2858 #58AB28 #2858AB
tetradic
#AB2858 #9AAB28 #28AB7B #3A28AB
square
#AB2858 #9AAB28 #28AB7B #3A28AB
split-complementary
#AB2858 #28AB3A #289AAB
monochromatic
#481125 #791C3E #AB2858 #D23E74 #DE7098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2858#FFFFFF#000000##FFFFFF
##AB28581.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)
#484C59
Deuteranopia (green-blind)
#6B6655
Tritanopia (blue-blind)
#BA073D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2858;
/* rgb */ color: rgb(171, 40, 88);
/* oklch */ color: oklch(50.0% 0.170 3.9);
Tailwind
colors: {
  custom: {
    50: '#ca6e86',
    500: '#ab2858',
    950: '#000000',
  },
}
SCSS
$custom: #ab2858;
$custom-light: #ca6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2858",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 338.015,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.16957,
    "h": 3.9
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2858

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

Preview Lab → · Contrast checker → · Palette generator →

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