#AB4939#AB4939

#AB4939 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.1% C 0.132 H 31.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4939
RGBrgb(171, 73, 57)
HSLhsl(8, 50%, 45%)
HSVhsv(8, 67%, 67%)
CMYKcmyk(0%, 57.3%, 66.7%, 32.9%)
CIE-LABlab(43.83, 39.10, 29.36)
CIE-LCHlch(43.83, 48.89, 36.90°)
OKLaboklab(53.06% 0.1132 0.0687)
OKLCHoklch(53.06% 0.132 31.3)
XYZxyz(19.9175, 13.7210, 5.4697)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4939 #399BAB
analogous
#AB3962 #AB4939 #AB8239
triadic
#AB4939 #39AB49 #4939AB
tetradic
#AB4939 #62AB39 #399BAB #8239AB
square
#AB4939 #62AB39 #399BAB #8239AB
split-complementary
#AB4939 #39AB82 #3962AB
monochromatic
#4F221A #7D352A #AB4939 #C86959 #D79387

Accessibility & contrast

On white

5.61
#AB4939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB4939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4939
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4939#FFFFFF#000000##FFFFFF
##AB49391.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A37
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#BB3546
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4939;
/* rgb */ color: rgb(171, 73, 57);
/* oklch */ color: oklch(53.1% 0.132 31.3);
Tailwind
colors: {
  custom: {
    50: '#ca7f70',
    500: '#ab4939',
    950: '#000000',
  },
}
SCSS
$custom: #ab4939;
$custom-light: #ca7f70;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4939",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 57
  },
  "hsl": {
    "h": 8.421,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.13238,
    "h": 31.3
  },
  "luminance": 0.13718
}

Semantic roles & 50–950 ramp

primary
#AB4939
secondary
#7FB8C1
accent
#C6DA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A

Preview Lab

Preview with #AB4939

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

Preview Lab → · Contrast checker → · Palette generator →

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