#AB2A39#AB2A39

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

Color values

HEX#AB2A39
RGBrgb(171, 42, 57)
HSLhsl(353, 61%, 42%)
HSVhsv(353, 75%, 67%)
CMYKcmyk(0%, 75.4%, 66.7%, 32.9%)
CIE-LABlab(38.92, 52.33, 23.30)
CIE-LCHlch(38.92, 57.28, 24.00°)
OKLaboklab(49.38% 0.1549 0.0552)
OKLCHoklch(49.38% 0.164 19.6)
XYZxyz(18.3631, 10.6120, 4.9515)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A39 #2AAB9C
analogous
#AB2A7A #AB2A39 #AB5C2A
triadic
#AB2A39 #39AB2A #2A39AB
tetradic
#AB2A39 #7AAB2A #2AAB9C #5C2AAB
square
#AB2A39 #7AAB2A #2AAB9C #5C2AAB
split-complementary
#AB2A39 #2AAB5C #2A7AAB
monochromatic
#491218 #7A1E29 #AB2A39 #D14252 #DD737F

Accessibility & contrast

On white

6.73
#AB2A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2A39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A39
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A39#FFFFFF#000000##FFFFFF
##AB2A391.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A39
Deuteranopia (green-blind)
#6F6635
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2a39;
/* rgb */ color: rgb(171, 42, 57);
/* oklch */ color: oklch(49.4% 0.164 19.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e6f',
    500: '#ab2a39',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a39;
$custom-light: #cc6e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a39",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 353.023,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.16445,
    "h": 19.6
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#AB2A39
secondary
#6DC4BA
accent
#E4D144
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2A39

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

Preview Lab → · Contrast checker → · Palette generator →

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