#AB4231#AB4231

#AB4231 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.0% C 0.142 H 31.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB4231
RGBrgb(171, 66, 49)
HSLhsl(8, 55%, 43%)
HSVhsv(8, 71%, 67%)
CMYKcmyk(0%, 61.4%, 71.3%, 32.9%)
CIE-LABlab(42.43, 42.04, 32.34)
CIE-LCHlch(42.43, 53.04, 37.57°)
OKLaboklab(51.97% 0.1208 0.0739)
OKLCHoklch(51.97% 0.142 31.5)
XYZxyz(19.2992, 12.7787, 4.3554)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4231 #319AAB
analogous
#AB315D #AB4231 #AB7F31
triadic
#AB4231 #31AB42 #4231AB
tetradic
#AB4231 #5DAB31 #319AAB #7F31AB
square
#AB4231 #5DAB31 #319AAB #7F31AB
split-complementary
#AB4231 #31AB7F #315DAB
monochromatic
#4C1D16 #7B3023 #AB4231 #CC5F4D #DA8A7D

Accessibility & contrast

On white

5.91
#AB4231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB4231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4231
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4231#FFFFFF#000000##FFFFFF
##AB42311.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E562F
Deuteranopia (green-blind)
#786D2E
Tritanopia (blue-blind)
#BC2A3E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4231;
/* rgb */ color: rgb(171, 66, 49);
/* oklch */ color: oklch(52.0% 0.142 31.5);
Tailwind
colors: {
  custom: {
    50: '#cb7b6a',
    500: '#ab4231',
    950: '#000000',
  },
}
SCSS
$custom: #ab4231;
$custom-light: #cb7b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4231",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 8.361,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.14158,
    "h": 31.5
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#AB4231
secondary
#75B8C2
accent
#CADF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AB4231

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

Preview Lab → · Contrast checker → · Palette generator →

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