#AB3131#AB3131

#AB3131 is a mid, vivid red. Relative luminance 0.111; OKLCH L 49.9% C 0.159 H 25.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB3131
RGBrgb(171, 49, 49)
HSLhsl(0, 55%, 43%)
HSVhsv(0, 71%, 67%)
CMYKcmyk(0%, 71.3%, 71.3%, 32.9%)
CIE-LABlab(39.71, 49.36, 29.17)
CIE-LCHlch(39.71, 57.34, 30.59°)
OKLaboklab(49.93% 0.1437 0.067)
OKLCHoklch(49.93% 0.159 25)
XYZxyz(18.4493, 11.0790, 4.0721)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3131 #31ABAB
analogous
#AB316E #AB3131 #AB6E31
triadic
#AB3131 #31AB31 #3131AB
tetradic
#AB3131 #6EAB31 #31ABAB #6E31AB
square
#AB3131 #6EAB31 #31ABAB #6E31AB
split-complementary
#AB3131 #31AB6E #316EAB
monochromatic
#4C1616 #7B2323 #AB3131 #CC4D4D #DA7D7D

Accessibility & contrast

On white

6.53
#AB3131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB3131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3131
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3131#FFFFFF#000000##FFFFFF
##AB31311.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3131;
/* rgb */ color: rgb(171, 49, 49);
/* oklch */ color: oklch(49.9% 0.159 25.0);
Tailwind
colors: {
  custom: {
    50: '#cc7269',
    500: '#ab3131',
    950: '#000000',
  },
}
SCSS
$custom: #ab3131;
$custom-light: #cc7269;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3131",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 49
  },
  "hsl": {
    "h": 0,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49932,
    "c": 0.15859,
    "h": 25
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3131

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

Preview Lab → · Contrast checker → · Palette generator →

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