#AB3231#AB3231

#AB3231 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.0% C 0.158 H 25.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB3231
RGBrgb(171, 50, 49)
HSLhsl(0, 55%, 43%)
HSVhsv(0, 71%, 67%)
CMYKcmyk(0%, 70.8%, 71.3%, 32.9%)
CIE-LABlab(39.85, 48.97, 29.34)
CIE-LCHlch(39.85, 57.09, 30.93°)
OKLaboklab(50.04% 0.1425 0.0674)
OKLCHoklch(50.04% 0.158 25.3)
XYZxyz(18.4916, 11.1636, 4.0862)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3231 #31AAAB
analogous
#AB316D #AB3231 #AB6F31
triadic
#AB3231 #31AB32 #3231AB
tetradic
#AB3231 #6DAB31 #31AAAB #6F31AB
square
#AB3231 #6DAB31 #31AAAB #6F31AB
split-complementary
#AB3231 #31AB6F #316DAB
monochromatic
#4C1616 #7B2423 #AB3231 #CC4E4D #DA7D7D

Accessibility & contrast

On white

6.50
#AB3231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB3231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3231
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3231#FFFFFF#000000##FFFFFF
##AB32311.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D30
Deuteranopia (green-blind)
#73672D
Tritanopia (blue-blind)
#BC0833
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab3231;
/* rgb */ color: rgb(171, 50, 49);
/* oklch */ color: oklch(50.0% 0.158 25.3);
Tailwind
colors: {
  custom: {
    50: '#cc7269',
    500: '#ab3231',
    950: '#000000',
  },
}
SCSS
$custom: #ab3231;
$custom-light: #cc7269;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3231",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 0.492,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.15763,
    "h": 25.3
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#AB3231
secondary
#75C2C2
accent
#DEDF49
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AB3231

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

Preview Lab → · Contrast checker → · Palette generator →

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