#AB4831#AB4831

#AB4831 is a mid, vivid red. Relative luminance 0.135; OKLCH L 52.8% C 0.136 H 34.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB4831
RGBrgb(171, 72, 49)
HSLhsl(11, 55%, 43%)
HSVhsv(11, 71%, 67%)
CMYKcmyk(0%, 57.9%, 71.3%, 32.9%)
CIE-LABlab(43.53, 39.14, 33.60)
CIE-LCHlch(43.53, 51.58, 40.65°)
OKLaboklab(52.8% 0.1118 0.0767)
OKLCHoklch(52.8% 0.136 34.5)
XYZxyz(19.6683, 13.5170, 4.4785)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4831 #3194AB
analogous
#AB3157 #AB4831 #AB8531
triadic
#AB4831 #31AB48 #4831AB
tetradic
#AB4831 #57AB31 #3194AB #8531AB
square
#AB4831 #57AB31 #3194AB #8531AB
split-complementary
#AB4831 #31AB85 #3157AB
monochromatic
#4C2016 #7B3423 #AB4831 #CC654D #DA8E7D

Accessibility & contrast

On white

5.67
#AB4831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB4831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4831
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4831#FFFFFF#000000##FFFFFF
##AB48311.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592E
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#BC3343
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4831;
/* rgb */ color: rgb(171, 72, 49);
/* oklch */ color: oklch(52.8% 0.136 34.5);
Tailwind
colors: {
  custom: {
    50: '#cb7e6a',
    500: '#ab4831',
    950: '#000000',
  },
}
SCSS
$custom: #ab4831;
$custom-light: #cb7e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4831",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 49
  },
  "hsl": {
    "h": 11.311,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.13553,
    "h": 34.5
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

primary
#AB4831
secondary
#75B4C2
accent
#C3DF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AB4831

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

Preview Lab → · Contrast checker → · Palette generator →

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