#AB2A4E#AB2A4E

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

Color values

HEX#AB2A4E
RGBrgb(171, 42, 78)
HSLhsl(343, 61%, 42%)
HSVhsv(343, 75%, 67%)
CMYKcmyk(0%, 75.4%, 54.4%, 32.9%)
CIE-LABlab(39.35, 53.75, 10.63)
CIE-LCHlch(39.35, 54.79, 11.18°)
OKLaboklab(49.85% 0.1633 0.027)
OKLCHoklch(49.85% 0.165 9.4)
XYZxyz(18.9995, 10.8666, 8.3033)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A4E #2AAB87
analogous
#AB2A8F #AB2A4E #AB472A
triadic
#AB2A4E #4EAB2A #2A4EAB
tetradic
#AB2A4E #8FAB2A #2AAB87 #472AAB
square
#AB2A4E #8FAB2A #2AAB87 #472AAB
split-complementary
#AB2A4E #2AAB47 #2A8FAB
monochromatic
#491221 #7A1E38 #AB2A4E #D1426A #DD7390

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A4E#FFFFFF#000000##FFFFFF
##AB2A4E1.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)
#4B4C4F
Deuteranopia (green-blind)
#6D664B
Tritanopia (blue-blind)
#BB0339
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a4e;
/* rgb */ color: rgb(171, 42, 78);
/* oklch */ color: oklch(49.8% 0.165 9.4);
Tailwind
colors: {
  custom: {
    50: '#ca6f7f',
    500: '#ab2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a4e;
$custom-light: #ca6f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a4e",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 343.256,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.16549,
    "h": 9.4
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#AB2A4E
secondary
#6DC4AC
accent
#E4B744
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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