#AB2A4D#AB2A4D

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

Color values

HEX#AB2A4D
RGBrgb(171, 42, 77)
HSLhsl(344, 61%, 42%)
HSVhsv(344, 75%, 67%)
CMYKcmyk(0%, 75.4%, 55%, 32.9%)
CIE-LABlab(39.33, 53.67, 11.23)
CIE-LCHlch(39.33, 54.84, 11.82°)
OKLaboklab(49.82% 0.1629 0.0285)
OKLCHoklch(49.82% 0.165 9.9)
XYZxyz(18.9639, 10.8524, 8.1159)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A4D #2AAB88
analogous
#AB2A8E #AB2A4D #AB482A
triadic
#AB2A4D #4DAB2A #2A4DAB
tetradic
#AB2A4D #8EAB2A #2AAB88 #482AAB
square
#AB2A4D #8EAB2A #2AAB88 #482AAB
split-complementary
#AB2A4D #2AAB48 #2A8EAB
monochromatic
#491221 #7A1E37 #AB2A4D #D14268 #DD7390

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A4D#FFFFFF#000000##FFFFFF
##AB2A4D1.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)
#4B4C4E
Deuteranopia (green-blind)
#6D664A
Tritanopia (blue-blind)
#BB0239
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a4d;
/* rgb */ color: rgb(171, 42, 77);
/* oklch */ color: oklch(49.8% 0.165 9.9);
Tailwind
colors: {
  custom: {
    50: '#ca6f7e',
    500: '#ab2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a4d;
$custom-light: #ca6f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a4d",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 343.721,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.16535,
    "h": 9.9
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#AB2A4D
secondary
#6DC4AC
accent
#E4B844
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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