#AB2A3C#AB2A3C

#AB2A3C is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.164 H 18.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB2A3C
RGBrgb(171, 42, 60)
HSLhsl(352, 61%, 42%)
HSVhsv(352, 75%, 67%)
CMYKcmyk(0%, 75.4%, 64.9%, 32.9%)
CIE-LABlab(38.97, 52.50, 21.49)
CIE-LCHlch(38.97, 56.73, 22.26°)
OKLaboklab(49.44% 0.1561 0.0514)
OKLCHoklch(49.44% 0.164 18.2)
XYZxyz(18.4401, 10.6428, 5.3574)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A3C #2AAB99
analogous
#AB2A7D #AB2A3C #AB592A
triadic
#AB2A3C #3CAB2A #2A3CAB
tetradic
#AB2A3C #7DAB2A #2AAB99 #592AAB
square
#AB2A3C #7DAB2A #2AAB99 #592AAB
split-complementary
#AB2A3C #2AAB59 #2A7DAB
monochromatic
#49121A #7A1E2B #AB2A3C #D14256 #DD7382

Accessibility & contrast

On white

6.71
#AB2A3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2A3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A3C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A3C#FFFFFF#000000##FFFFFF
##AB2A3C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3C
Deuteranopia (green-blind)
#6F6638
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a3c;
/* rgb */ color: rgb(171, 42, 60);
/* oklch */ color: oklch(49.4% 0.164 18.2);
Tailwind
colors: {
  custom: {
    50: '#cb6f71',
    500: '#ab2a3c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a3c;
$custom-light: #cb6f71;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a3c",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 60
  },
  "hsl": {
    "h": 351.628,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.16436,
    "h": 18.2
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#AB2A3C
secondary
#6DC4B8
accent
#E4CD44
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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