#AB2B4E#AB2B4E

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

Color values

HEX#AB2B4E
RGBrgb(171, 43, 78)
HSLhsl(344, 60%, 42%)
HSVhsv(344, 75%, 67%)
CMYKcmyk(0%, 74.9%, 54.4%, 32.9%)
CIE-LABlab(39.48, 53.41, 10.80)
CIE-LCHlch(39.48, 54.49, 11.43°)
OKLaboklab(49.94% 0.1622 0.0274)
OKLCHoklch(49.94% 0.164 9.6)
XYZxyz(19.0354, 10.9384, 8.3152)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B4E #2BAB88
analogous
#AB2B8E #AB2B4E #AB482B
triadic
#AB2B4E #4EAB2B #2B4EAB
tetradic
#AB2B4E #8EAB2B #2BAB88 #482BAB
square
#AB2B4E #8EAB2B #2BAB88 #482BAB
split-complementary
#AB2B4E #2BAB48 #2B8EAB
monochromatic
#491221 #7A1F38 #AB2B4E #D0436A #DC7491

Accessibility & contrast

On white

6.59
#AB2B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B4E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B4E#FFFFFF#000000##FFFFFF
##AB2B4E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4F
Deuteranopia (green-blind)
#6D664B
Tritanopia (blue-blind)
#BB063A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2b4e;
/* rgb */ color: rgb(171, 43, 78);
/* oklch */ color: oklch(49.9% 0.164 9.6);
Tailwind
colors: {
  custom: {
    50: '#ca6f7f',
    500: '#ab2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b4e;
$custom-light: #ca6f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b4e",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 343.594,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.16448,
    "h": 9.6
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#AB2B4E
secondary
#6EC4AC
accent
#E3B845
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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