#AB2A4A#AB2A4A

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

Color values

HEX#AB2A4A
RGBrgb(171, 42, 74)
HSLhsl(345, 61%, 42%)
HSVhsv(345, 75%, 67%)
CMYKcmyk(0%, 75.4%, 56.7%, 32.9%)
CIE-LABlab(39.26, 53.44, 13.04)
CIE-LCHlch(39.26, 55.01, 13.71°)
OKLaboklab(49.74% 0.1617 0.0327)
OKLCHoklch(49.74% 0.165 11.4)
XYZxyz(18.8604, 10.8110, 7.5708)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A4A #2AAB8B
analogous
#AB2A8B #AB2A4A #AB4B2A
triadic
#AB2A4A #4AAB2A #2A4AAB
tetradic
#AB2A4A #8BAB2A #2AAB8B #4B2AAB
square
#AB2A4A #8BAB2A #2AAB8B #4B2AAB
split-complementary
#AB2A4A #2AAB4B #2A8BAB
monochromatic
#49121F #7A1E35 #AB2A4A #D14265 #DD738D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A4A#FFFFFF#000000##FFFFFF
##AB2A4A1.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)
#4C4C4A
Deuteranopia (green-blind)
#6D6647
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a4a;
/* rgb */ color: rgb(171, 42, 74);
/* oklch */ color: oklch(49.7% 0.165 11.4);
Tailwind
colors: {
  custom: {
    50: '#ca6f7c',
    500: '#ab2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a4a;
$custom-light: #ca6f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a4a",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 345.116,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.16497,
    "h": 11.4
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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