#AB342C#AB342C

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

Color values

HEX#AB342C
RGBrgb(171, 52, 44)
HSLhsl(4, 59%, 42%)
HSVhsv(4, 74%, 67%)
CMYKcmyk(0%, 69.6%, 74.3%, 32.9%)
CIE-LABlab(40.08, 47.94, 32.55)
CIE-LCHlch(40.08, 57.95, 34.18°)
OKLaboklab(50.18% 0.1382 0.0734)
OKLCHoklch(50.18% 0.156 28)
XYZxyz(18.4793, 11.2985, 3.5902)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB342C #2CA3AB
analogous
#AB2C63 #AB342C #AB742C
triadic
#AB342C #2CAB34 #342CAB
tetradic
#AB342C #63AB2C #2CA3AB #742CAB
square
#AB342C #63AB2C #2CA3AB #742CAB
split-complementary
#AB342C #2CAB74 #2C63AB
monochromatic
#4A1613 #7A251F #AB342C #CF4E45 #DC7C76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB342C#FFFFFF#000000##FFFFFF
##AB342C1.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)
#564E2A
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#BC0C33
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab342c;
/* rgb */ color: rgb(171, 52, 44);
/* oklch */ color: oklch(50.2% 0.156 28.0);
Tailwind
colors: {
  custom: {
    50: '#cc7366',
    500: '#ab342c',
    950: '#000000',
  },
}
SCSS
$custom: #ab342c;
$custom-light: #cc7366;
$custom-dark: #000000;
JSON
{
  "hex": "#ab342c",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 3.78,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.15646,
    "h": 28
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#AB342C
secondary
#6FBEC3
accent
#D8E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB342C

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

Preview Lab → · Contrast checker → · Palette generator →

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