#AB2A4F#AB2A4F

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

Color values

HEX#AB2A4F
RGBrgb(171, 42, 79)
HSLhsl(343, 61%, 42%)
HSVhsv(343, 75%, 67%)
CMYKcmyk(0%, 75.4%, 53.8%, 32.9%)
CIE-LABlab(39.38, 53.83, 10.03)
CIE-LCHlch(39.38, 54.76, 10.55°)
OKLaboklab(49.87% 0.1637 0.0256)
OKLCHoklch(49.87% 0.166 8.9)
XYZxyz(19.0356, 10.8810, 8.4935)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A4F #2AAB86
analogous
#AB2A90 #AB2A4F #AB462A
triadic
#AB2A4F #4FAB2A #2A4FAB
tetradic
#AB2A4F #90AB2A #2AAB86 #462AAB
square
#AB2A4F #90AB2A #2AAB86 #462AAB
split-complementary
#AB2A4F #2AAB46 #2A90AB
monochromatic
#491222 #7A1E38 #AB2A4F #D1426B #DD7391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A4F#FFFFFF#000000##FFFFFF
##AB2A4F1.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)
#4B4C50
Deuteranopia (green-blind)
#6D664C
Tritanopia (blue-blind)
#BB043A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a4f;
/* rgb */ color: rgb(171, 42, 79);
/* oklch */ color: oklch(49.9% 0.166 8.9);
Tailwind
colors: {
  custom: {
    50: '#ca6f80',
    500: '#ab2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a4f;
$custom-light: #ca6f80;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a4f",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 342.791,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.16565,
    "h": 8.9
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#AB2A4F
secondary
#6DC4AB
accent
#E4B644
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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