#AB2A29#AB2A29

#AB2A29 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 26.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2A29
RGBrgb(171, 42, 41)
HSLhsl(0, 61%, 42%)
HSVhsv(0, 76%, 67%)
CMYKcmyk(0%, 75.4%, 76%, 32.9%)
CIE-LABlab(38.68, 51.55, 32.75)
CIE-LCHlch(38.68, 61.08, 32.43°)
OKLaboklab(49.13% 0.1489 0.0731)
OKLCHoklch(49.13% 0.166 26.1)
XYZxyz(18.0249, 10.4768, 3.1705)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A29 #29AAAB
analogous
#AB2969 #AB2A29 #AB6B29
triadic
#AB2A29 #29AB2A #2A29AB
tetradic
#AB2A29 #69AB29 #29AAAB #6B29AB
square
#AB2A29 #69AB29 #29AAAB #6B29AB
split-complementary
#AB2A29 #29AB6B #2969AB
monochromatic
#481211 #7A1E1D #AB2A29 #D14140 #DD7271

Accessibility & contrast

On white

6.79
#AB2A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A29
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A29#FFFFFF#000000##FFFFFF
##AB2A291.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514927
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a29;
/* rgb */ color: rgb(171, 42, 41);
/* oklch */ color: oklch(49.1% 0.166 26.1);
Tailwind
colors: {
  custom: {
    50: '#cd6e63',
    500: '#ab2a29',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a29;
$custom-light: #cd6e63;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a29",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 41
  },
  "hsl": {
    "h": 0.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.1659,
    "h": 26.1
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#AB2A29
secondary
#6CC3C4
accent
#E3E443
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AB2A29

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

Preview Lab → · Contrast checker → · Palette generator →

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