#AB313D#AB313D

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

Color values

HEX#AB313D
RGBrgb(171, 49, 61)
HSLhsl(354, 55%, 43%)
HSVhsv(354, 71%, 67%)
CMYKcmyk(0%, 71.3%, 64.3%, 32.9%)
CIE-LABlab(39.91, 50.03, 22.07)
CIE-LCHlch(39.91, 54.68, 23.80°)
OKLaboklab(50.14% 0.1484 0.0528)
OKLCHoklch(50.14% 0.158 19.6)
XYZxyz(18.7371, 11.1942, 5.5880)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB313D #31AB9F
analogous
#AB317A #AB313D #AB6231
triadic
#AB313D #3DAB31 #313DAB
tetradic
#AB313D #7AAB31 #31AB9F #6231AB
square
#AB313D #7AAB31 #31AB9F #6231AB
split-complementary
#AB313D #31AB62 #317AAB
monochromatic
#4C161B #7B232C #AB313D #CC4D5A #DA7D86

Accessibility & contrast

On white

6.49
#AB313D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB313D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB313D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB313D#FFFFFF#000000##FFFFFF
##AB313D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3D
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#BC0C36
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab313d;
/* rgb */ color: rgb(171, 49, 61);
/* oklch */ color: oklch(50.1% 0.158 19.6);
Tailwind
colors: {
  custom: {
    50: '#cb7272',
    500: '#ab313d',
    950: '#000000',
  },
}
SCSS
$custom: #ab313d;
$custom-light: #cb7272;
$custom-dark: #000000;
JSON
{
  "hex": "#ab313d",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 354.098,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.15752,
    "h": 19.6
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#AB313D
secondary
#75C2BB
accent
#DFD049
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB313D

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

Preview Lab → · Contrast checker → · Palette generator →

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