#AB2A4C#AB2A4C

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

Color values

HEX#AB2A4C
RGBrgb(171, 42, 76)
HSLhsl(344, 61%, 42%)
HSVhsv(344, 75%, 67%)
CMYKcmyk(0%, 75.4%, 55.6%, 32.9%)
CIE-LABlab(39.31, 53.60, 11.83)
CIE-LCHlch(39.31, 54.89, 12.45°)
OKLaboklab(49.79% 0.1625 0.0299)
OKLCHoklch(49.79% 0.165 10.4)
XYZxyz(18.9288, 10.8383, 7.9313)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A4C #2AAB89
analogous
#AB2A8D #AB2A4C #AB492A
triadic
#AB2A4C #4CAB2A #2A4CAB
tetradic
#AB2A4C #8DAB2A #2AAB89 #492AAB
square
#AB2A4C #8DAB2A #2AAB89 #492AAB
split-complementary
#AB2A4C #2AAB49 #2A8DAB
monochromatic
#491220 #7A1E36 #AB2A4C #D14267 #DD738F

Accessibility & contrast

On white

6.63
#AB2A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A4C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A4C#FFFFFF#000000##FFFFFF
##AB2A4C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4D
Deuteranopia (green-blind)
#6D6649
Tritanopia (blue-blind)
#BB0138
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a4c;
/* rgb */ color: rgb(171, 42, 76);
/* oklch */ color: oklch(49.8% 0.165 10.4);
Tailwind
colors: {
  custom: {
    50: '#ca6f7d',
    500: '#ab2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a4c;
$custom-light: #ca6f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a4c",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 344.186,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.16521,
    "h": 10.4
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#AB2A4C
secondary
#6DC4AD
accent
#E4BA44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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