#AB2857#AB2857

#AB2857 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.169 H 4.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB2857
RGBrgb(171, 40, 87)
HSLhsl(338, 62%, 41%)
HSVhsv(338, 77%, 67%)
CMYKcmyk(0%, 76.6%, 49.1%, 32.9%)
CIE-LABlab(39.35, 55.16, 4.91)
CIE-LCHlch(39.35, 55.38, 5.09°)
OKLaboklab(49.92% 0.1688 0.0131)
OKLCHoklch(49.92% 0.169 4.4)
XYZxyz(19.2753, 10.8663, 10.0974)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2857 #28AB7C
analogous
#AB2899 #AB2857 #AB3B28
triadic
#AB2857 #57AB28 #2857AB
tetradic
#AB2857 #99AB28 #28AB7C #3B28AB
square
#AB2857 #99AB28 #28AB7C #3B28AB
split-complementary
#AB2857 #28AB3B #2899AB
monochromatic
#481125 #791C3E #AB2857 #D23E73 #DE7097

Accessibility & contrast

On white

6.62
#AB2857 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2857 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2857
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2857#FFFFFF#000000##FFFFFF
##AB28571.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C58
Deuteranopia (green-blind)
#6B6654
Tritanopia (blue-blind)
#BA063C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2857;
/* rgb */ color: rgb(171, 40, 87);
/* oklch */ color: oklch(49.9% 0.169 4.4);
Tailwind
colors: {
  custom: {
    50: '#ca6e86',
    500: '#ab2857',
    950: '#000000',
  },
}
SCSS
$custom: #ab2857;
$custom-light: #ca6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2857",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 338.473,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49921,
    "c": 0.16931,
    "h": 4.4
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#AB2857
secondary
#6AC4A4
accent
#E5AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2857

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

Preview Lab → · Contrast checker → · Palette generator →

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