#AB342A#AB342A

#AB342A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.2% C 0.157 H 28.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB342A
RGBrgb(171, 52, 42)
HSLhsl(5, 61%, 42%)
HSVhsv(5, 75%, 67%)
CMYKcmyk(0%, 69.6%, 75.4%, 32.9%)
CIE-LABlab(40.05, 47.85, 33.68)
CIE-LCHlch(40.05, 58.52, 35.14°)
OKLaboklab(50.16% 0.1375 0.0754)
OKLCHoklch(50.16% 0.157 28.7)
XYZxyz(18.4426, 11.2838, 3.3969)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB342A #2AA1AB
analogous
#AB2A61 #AB342A #AB752A
triadic
#AB342A #2AAB34 #342AAB
tetradic
#AB342A #61AB2A #2AA1AB #752AAB
square
#AB342A #61AB2A #2AA1AB #752AAB
split-complementary
#AB342A #2AAB75 #2A61AB
monochromatic
#491612 #7A251E #AB342A #D14D42 #DD7B73

Accessibility & contrast

On white

6.45
#AB342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB342A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB342A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB342A#FFFFFF#000000##FFFFFF
##AB342A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E28
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#BC0B33
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab342a;
/* rgb */ color: rgb(171, 52, 42);
/* oklch */ color: oklch(50.2% 0.157 28.7);
Tailwind
colors: {
  custom: {
    50: '#cc7364',
    500: '#ab342a',
    950: '#000000',
  },
}
SCSS
$custom: #ab342a;
$custom-light: #cc7364;
$custom-dark: #000000;
JSON
{
  "hex": "#ab342a",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 4.651,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.15679,
    "h": 28.7
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#AB342A
secondary
#6DBDC4
accent
#D7E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB342A

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

Preview Lab → · Contrast checker → · Palette generator →

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