#AB2A31#AB2A31

#AB2A31 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 23.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2A31
RGBrgb(171, 42, 49)
HSLhsl(357, 61%, 42%)
HSVhsv(357, 75%, 67%)
CMYKcmyk(0%, 75.4%, 71.3%, 32.9%)
CIE-LABlab(38.79, 51.91, 28.08)
CIE-LCHlch(38.79, 59.02, 28.41°)
OKLaboklab(49.25% 0.1518 0.0646)
OKLCHoklch(49.25% 0.165 23)
XYZxyz(18.1790, 10.5384, 3.9820)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A31 #2AABA4
analogous
#AB2A72 #AB2A31 #AB642A
triadic
#AB2A31 #31AB2A #2A31AB
tetradic
#AB2A31 #72AB2A #2AABA4 #642AAB
square
#AB2A31 #72AB2A #2AABA4 #642AAB
split-complementary
#AB2A31 #2AAB64 #2A72AB
monochromatic
#491215 #7A1E23 #AB2A31 #D14249 #DD7379

Accessibility & contrast

On white

6.76
#AB2A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A31
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A31#FFFFFF#000000##FFFFFF
##AB2A311.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a31;
/* rgb */ color: rgb(171, 42, 49);
/* oklch */ color: oklch(49.2% 0.165 23.0);
Tailwind
colors: {
  custom: {
    50: '#cc6e69',
    500: '#ab2a31',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a31;
$custom-light: #cc6e69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a31",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 356.744,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.165,
    "h": 23
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#AB2A31
secondary
#6DC4BF
accent
#E4DB44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB2A31

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

Preview Lab → · Contrast checker → · Palette generator →

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