#AB2851#AB2851

#AB2851 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.168 H 7.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AB2851
RGBrgb(171, 40, 81)
HSLhsl(341, 62%, 41%)
HSVhsv(341, 77%, 67%)
CMYKcmyk(0%, 76.6%, 52.6%, 32.9%)
CIE-LABlab(39.19, 54.65, 8.50)
CIE-LCHlch(39.19, 55.31, 8.84°)
OKLaboklab(49.75% 0.1666 0.0219)
OKLCHoklch(49.75% 0.168 7.5)
XYZxyz(19.0403, 10.7723, 8.8596)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2851 #28AB82
analogous
#AB2893 #AB2851 #AB4128
triadic
#AB2851 #51AB28 #2851AB
tetradic
#AB2851 #93AB28 #28AB82 #4128AB
square
#AB2851 #93AB28 #28AB82 #4128AB
split-complementary
#AB2851 #28AB41 #2893AB
monochromatic
#481122 #791C3A #AB2851 #D23E6C #DE7092

Accessibility & contrast

On white

6.66
#AB2851 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB2851 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2851
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2851#FFFFFF#000000##FFFFFF
##AB28511.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C52
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2851;
/* rgb */ color: rgb(171, 40, 81);
/* oklch */ color: oklch(49.8% 0.168 7.5);
Tailwind
colors: {
  custom: {
    50: '#ca6e81',
    500: '#ab2851',
    950: '#000000',
  },
}
SCSS
$custom: #ab2851;
$custom-light: #ca6e81;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2851",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 341.221,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.16798,
    "h": 7.5
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#AB2851
secondary
#6AC4A8
accent
#E5B243
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2851

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

Preview Lab → · Contrast checker → · Palette generator →

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