#AB2A4B#AB2A4B

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

Color values

HEX#AB2A4B
RGBrgb(171, 42, 75)
HSLhsl(345, 61%, 42%)
HSVhsv(345, 75%, 67%)
CMYKcmyk(0%, 75.4%, 56.1%, 32.9%)
CIE-LABlab(39.28, 53.52, 12.43)
CIE-LCHlch(39.28, 54.95, 13.08°)
OKLaboklab(49.77% 0.1621 0.0313)
OKLCHoklch(49.77% 0.165 10.9)
XYZxyz(18.8944, 10.8245, 7.7497)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A4B #2AAB8A
analogous
#AB2A8C #AB2A4B #AB4A2A
triadic
#AB2A4B #4BAB2A #2A4BAB
tetradic
#AB2A4B #8CAB2A #2AAB8A #4A2AAB
square
#AB2A4B #8CAB2A #2AAB8A #4A2AAB
split-complementary
#AB2A4B #2AAB4A #2A8CAB
monochromatic
#491220 #7A1E35 #AB2A4B #D14266 #DD738E

Accessibility & contrast

On white

6.64
#AB2A4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2A4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A4B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A4B#FFFFFF#000000##FFFFFF
##AB2A4B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4C
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a4b;
/* rgb */ color: rgb(171, 42, 75);
/* oklch */ color: oklch(49.8% 0.165 10.9);
Tailwind
colors: {
  custom: {
    50: '#ca6f7d',
    500: '#ab2a4b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a4b;
$custom-light: #ca6f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a4b",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 344.651,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.16508,
    "h": 10.9
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#AB2A4B
secondary
#6DC4AE
accent
#E4BB44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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