#AB2A1F#AB2A1F

#AB2A1F is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 29.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB2A1F
RGBrgb(171, 42, 31)
HSLhsl(5, 69%, 40%)
HSVhsv(5, 82%, 67%)
CMYKcmyk(0%, 75.4%, 81.9%, 32.9%)
CIE-LABlab(38.58, 51.20, 38.29)
CIE-LCHlch(38.58, 63.94, 36.80°)
OKLaboklab(49.02% 0.1458 0.0821)
OKLCHoklch(49.02% 0.167 29.4)
XYZxyz(17.8720, 10.4156, 2.3654)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A1F #1FA0AB
analogous
#AB1F5A #AB2A1F #AB701F
triadic
#AB2A1F #1FAB2A #2A1FAB
tetradic
#AB2A1F #5AAB1F #1FA0AB #701FAB
square
#AB2A1F #5AAB1F #1FA0AB #701FAB
split-complementary
#AB2A1F #1FAB70 #1F5AAB
monochromatic
#43110C #771D16 #AB2A1F #D93C2E #E36C62

Accessibility & contrast

On white

6.81
#AB2A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A1F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A1F#FFFFFF#000000##FFFFFF
##AB2A1F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#716519
Tritanopia (blue-blind)
#BD0029
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2a1f;
/* rgb */ color: rgb(171, 42, 31);
/* oklch */ color: oklch(49.0% 0.167 29.4);
Tailwind
colors: {
  custom: {
    50: '#cd6e5c',
    500: '#ab2a1f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a1f;
$custom-light: #cd6e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a1f",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 4.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.16728,
    "h": 29.4
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#AB2A1F
secondary
#5EBFC7
accent
#DEEC3C
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB2A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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