#AB3831#AB3831

#AB3831 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.7% C 0.152 H 27.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB3831
RGBrgb(171, 56, 49)
HSLhsl(3, 55%, 43%)
HSVhsv(3, 71%, 67%)
CMYKcmyk(0%, 67.3%, 71.3%, 32.9%)
CIE-LABlab(40.75, 46.52, 30.39)
CIE-LCHlch(40.75, 55.57, 33.16°)
OKLaboklab(50.71% 0.1348 0.0697)
OKLCHoklch(50.71% 0.152 27.3)
XYZxyz(18.7651, 11.7107, 4.1774)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3831 #31A4AB
analogous
#AB3167 #AB3831 #AB7531
triadic
#AB3831 #31AB38 #3831AB
tetradic
#AB3831 #67AB31 #31A4AB #7531AB
square
#AB3831 #67AB31 #31A4AB #7531AB
split-complementary
#AB3831 #31AB75 #3167AB
monochromatic
#4C1916 #7B2823 #AB3831 #CC544D #DA827D

Accessibility & contrast

On white

6.28
#AB3831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB3831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3831
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3831#FFFFFF#000000##FFFFFF
##AB38311.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502F
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#BC1837
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3831;
/* rgb */ color: rgb(171, 56, 49);
/* oklch */ color: oklch(50.7% 0.152 27.3);
Tailwind
colors: {
  custom: {
    50: '#cb7569',
    500: '#ab3831',
    950: '#000000',
  },
}
SCSS
$custom: #ab3831;
$custom-light: #cb7569;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3831",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 49
  },
  "hsl": {
    "h": 3.443,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.15174,
    "h": 27.3
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#AB3831
secondary
#75BEC2
accent
#D6DF49
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB3831

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

Preview Lab → · Contrast checker → · Palette generator →

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