#AB342B#AB342B

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

Color values

HEX#AB342B
RGBrgb(171, 52, 43)
HSLhsl(4, 60%, 42%)
HSVhsv(4, 75%, 67%)
CMYKcmyk(0%, 69.6%, 74.9%, 32.9%)
CIE-LABlab(40.07, 47.90, 33.12)
CIE-LCHlch(40.07, 58.23, 34.67°)
OKLaboklab(50.17% 0.1379 0.0744)
OKLCHoklch(50.17% 0.157 28.3)
XYZxyz(18.4607, 11.2911, 3.4924)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB342B #2BA2AB
analogous
#AB2B62 #AB342B #AB742B
triadic
#AB342B #2BAB34 #342BAB
tetradic
#AB342B #62AB2B #2BA2AB #742BAB
square
#AB342B #62AB2B #2BA2AB #742BAB
split-complementary
#AB342B #2BAB74 #2B62AB
monochromatic
#491612 #7A251F #AB342B #D04D43 #DC7C74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB342B#FFFFFF#000000##FFFFFF
##AB342B1.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)
#564E29
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#BC0C33
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab342b;
/* rgb */ color: rgb(171, 52, 43);
/* oklch */ color: oklch(50.2% 0.157 28.3);
Tailwind
colors: {
  custom: {
    50: '#cc7365',
    500: '#ab342b',
    950: '#000000',
  },
}
SCSS
$custom: #ab342b;
$custom-light: #cc7365;
$custom-dark: #000000;
JSON
{
  "hex": "#ab342b",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 4.219,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.15663,
    "h": 28.3
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#AB342B
secondary
#6EBEC4
accent
#D8E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB342B

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

Preview Lab → · Contrast checker → · Palette generator →

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