#AB4838#AB4838

#AB4838 is a mid, vivid red. Relative luminance 0.136; OKLCH L 52.9% C 0.134 H 31.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB4838
RGBrgb(171, 72, 56)
HSLhsl(8, 51%, 45%)
HSVhsv(8, 67%, 67%)
CMYKcmyk(0%, 57.9%, 67.3%, 32.9%)
CIE-LABlab(43.63, 39.53, 29.70)
CIE-LCHlch(43.63, 49.44, 36.91°)
OKLaboklab(52.91% 0.1143 0.0693)
OKLCHoklch(52.91% 0.134 31.2)
XYZxyz(19.8277, 13.5807, 5.3179)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4838 #389BAB
analogous
#AB3862 #AB4838 #AB8238
triadic
#AB4838 #38AB48 #4838AB
tetradic
#AB4838 #62AB38 #389BAB #8238AB
square
#AB4838 #62AB38 #389BAB #8238AB
split-complementary
#AB4838 #38AB82 #3862AB
monochromatic
#4F211A #7D3529 #AB4838 #C86858 #D79186

Accessibility & contrast

On white

5.65
#AB4838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB4838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4838
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4838#FFFFFF#000000##FFFFFF
##AB48381.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A36
Deuteranopia (green-blind)
#7B6F36
Tritanopia (blue-blind)
#BB3445
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4838;
/* rgb */ color: rgb(171, 72, 56);
/* oklch */ color: oklch(52.9% 0.134 31.2);
Tailwind
colors: {
  custom: {
    50: '#ca7e6f',
    500: '#ab4838',
    950: '#000000',
  },
}
SCSS
$custom: #ab4838;
$custom-light: #ca7e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4838",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 8.348,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.13369,
    "h": 31.2
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#AB4838
secondary
#7DB8C1
accent
#C7DA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A

Preview Lab

Preview with #AB4838

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

Preview Lab → · Contrast checker → · Palette generator →

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