#AB342F#AB342F

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

Color values

HEX#AB342F
RGBrgb(171, 52, 47)
HSLhsl(2, 57%, 43%)
HSVhsv(2, 73%, 67%)
CMYKcmyk(0%, 69.6%, 72.5%, 32.9%)
CIE-LABlab(40.12, 48.08, 30.84)
CIE-LCHlch(40.12, 57.12, 32.68°)
OKLaboklab(50.22% 0.1393 0.0703)
OKLCHoklch(50.22% 0.156 26.8)
XYZxyz(18.5377, 11.3219, 3.8980)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB342F #2FA6AB
analogous
#AB2F68 #AB342F #AB722F
triadic
#AB342F #2FAB34 #342FAB
tetradic
#AB342F #68AB2F #2FA6AB #722FAB
square
#AB342F #68AB2F #2FA6AB #722FAB
split-complementary
#AB342F #2FAB72 #2F68AB
monochromatic
#4B1715 #7B2522 #AB342F #CD4F4A #DA7E7A

Accessibility & contrast

On white

6.43
#AB342F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB342F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB342F#FFFFFF#000000##FFFFFF
##AB342F1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2D
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#BC0E34
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab342f;
/* rgb */ color: rgb(171, 52, 47);
/* oklch */ color: oklch(50.2% 0.156 26.8);
Tailwind
colors: {
  custom: {
    50: '#cc7368',
    500: '#ab342f',
    950: '#000000',
  },
}
SCSS
$custom: #ab342f;
$custom-light: #cc7368;
$custom-dark: #000000;
JSON
{
  "hex": "#ab342f",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 2.419,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.15599,
    "h": 26.8
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#AB342F
secondary
#73C0C3
accent
#DAE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB342F

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

Preview Lab → · Contrast checker → · Palette generator →

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