#AB2B51#AB2B51

#AB2B51 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.165 H 8.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB2B51
RGBrgb(171, 43, 81)
HSLhsl(342, 60%, 42%)
HSVhsv(342, 75%, 67%)
CMYKcmyk(0%, 74.9%, 52.6%, 32.9%)
CIE-LABlab(39.55, 53.65, 9.00)
CIE-LCHlch(39.55, 54.40, 9.52°)
OKLaboklab(50.01% 0.1633 0.0231)
OKLCHoklch(50.01% 0.165 8.1)
XYZxyz(19.1454, 10.9824, 8.8947)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B51 #2BAB85
analogous
#AB2B91 #AB2B51 #AB452B
triadic
#AB2B51 #51AB2B #2B51AB
tetradic
#AB2B51 #91AB2B #2BAB85 #452BAB
square
#AB2B51 #91AB2B #2BAB85 #452BAB
split-complementary
#AB2B51 #2BAB45 #2B91AB
monochromatic
#491223 #7A1F3A #AB2B51 #D0436D #DC7493

Accessibility & contrast

On white

6.57
#AB2B51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2B51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B51
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B51#FFFFFF#000000##FFFFFF
##AB2B511.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D52
Deuteranopia (green-blind)
#6D664E
Tritanopia (blue-blind)
#BB093B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2b51;
/* rgb */ color: rgb(171, 43, 81);
/* oklch */ color: oklch(50.0% 0.165 8.1);
Tailwind
colors: {
  custom: {
    50: '#ca7081',
    500: '#ab2b51',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b51;
$custom-light: #ca7081;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b51",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 81
  },
  "hsl": {
    "h": 342.188,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50014,
    "c": 0.16497,
    "h": 8.1
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

primary
#AB2B51
secondary
#6EC4AA
accent
#E3B445
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2B51

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

Preview Lab → · Contrast checker → · Palette generator →

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