#AB2E51#AB2E51

#AB2E51 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.162 H 8.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB2E51
RGBrgb(171, 46, 81)
HSLhsl(343, 58%, 43%)
HSVhsv(343, 73%, 67%)
CMYKcmyk(0%, 73.1%, 52.6%, 32.9%)
CIE-LABlab(39.93, 52.60, 9.53)
CIE-LCHlch(39.93, 53.45, 10.27°)
OKLaboklab(50.29% 0.1599 0.0244)
OKLCHoklch(50.29% 0.162 8.7)
XYZxyz(19.2585, 11.2086, 8.9324)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E51 #2EAB88
analogous
#AB2E90 #AB2E51 #AB492E
triadic
#AB2E51 #51AB2E #2E51AB
tetradic
#AB2E51 #90AB2E #2EAB88 #492EAB
square
#AB2E51 #90AB2E #2EAB88 #492EAB
split-complementary
#AB2E51 #2EAB49 #2E90AB
monochromatic
#4B1423 #7B213A #AB2E51 #CE486E #DB7994

Accessibility & contrast

On white

6.48
#AB2E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E51
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E51#FFFFFF#000000##FFFFFF
##AB2E511.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#BB113C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e51;
/* rgb */ color: rgb(171, 46, 81);
/* oklch */ color: oklch(50.3% 0.162 8.7);
Tailwind
colors: {
  custom: {
    50: '#ca7181',
    500: '#ab2e51',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e51;
$custom-light: #ca7181;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e51",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 343.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.1618,
    "h": 8.7
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#AB2E51
secondary
#72C3AC
accent
#E1B647
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2E51

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

Preview Lab → · Contrast checker → · Palette generator →

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