#AB342D#AB342D

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

Color values

HEX#AB342D
RGBrgb(171, 52, 45)
HSLhsl(3, 58%, 42%)
HSVhsv(3, 74%, 67%)
CMYKcmyk(0%, 69.6%, 73.7%, 32.9%)
CIE-LABlab(40.09, 47.98, 31.98)
CIE-LCHlch(40.09, 57.67, 33.69°)
OKLaboklab(50.2% 0.1386 0.0724)
OKLCHoklch(50.2% 0.156 27.6)
XYZxyz(18.4983, 11.3061, 3.6904)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB342D #2DA4AB
analogous
#AB2D65 #AB342D #AB732D
triadic
#AB342D #2DAB34 #342DAB
tetradic
#AB342D #65AB2D #2DA4AB #732DAB
square
#AB342D #65AB2D #2DA4AB #732DAB
split-complementary
#AB342D #2DAB73 #2D65AB
monochromatic
#4A1714 #7B2520 #AB342D #CE4E47 #DB7D77

Accessibility & contrast

On white

6.44
#AB342D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB342D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB342D#FFFFFF#000000##FFFFFF
##AB342D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#BC0D33
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab342d;
/* rgb */ color: rgb(171, 52, 45);
/* oklch */ color: oklch(50.2% 0.156 27.6);
Tailwind
colors: {
  custom: {
    50: '#cc7366',
    500: '#ab342d',
    950: '#000000',
  },
}
SCSS
$custom: #ab342d;
$custom-light: #cc7366;
$custom-dark: #000000;
JSON
{
  "hex": "#ab342d",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 3.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.1563,
    "h": 27.6
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#AB342D
secondary
#71BFC3
accent
#D9E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB342D

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

Preview Lab → · Contrast checker → · Palette generator →

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