#AB313E#AB313E

#AB313E is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.157 H 19.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB313E
RGBrgb(171, 49, 62)
HSLhsl(354, 55%, 43%)
HSVhsv(354, 71%, 67%)
CMYKcmyk(0%, 71.3%, 63.7%, 32.9%)
CIE-LABlab(39.92, 50.09, 21.47)
CIE-LCHlch(39.92, 54.50, 23.20°)
OKLaboklab(50.16% 0.1488 0.0516)
OKLCHoklch(50.16% 0.157 19.1)
XYZxyz(18.7643, 11.2051, 5.7312)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB313E #31AB9E
analogous
#AB317B #AB313E #AB6131
triadic
#AB313E #3EAB31 #313EAB
tetradic
#AB313E #7BAB31 #31AB9E #6131AB
square
#AB313E #7BAB31 #31AB9E #6131AB
split-complementary
#AB313E #31AB61 #317BAB
monochromatic
#4C161C #7B232D #AB313E #CC4D5B #DA7D87

Accessibility & contrast

On white

6.48
#AB313E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB313E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB313E#FFFFFF#000000##FFFFFF
##AB313E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524E3E
Deuteranopia (green-blind)
#71673B
Tritanopia (blue-blind)
#BC0C37
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab313e;
/* rgb */ color: rgb(171, 49, 62);
/* oklch */ color: oklch(50.2% 0.157 19.1);
Tailwind
colors: {
  custom: {
    50: '#cb7273',
    500: '#ab313e',
    950: '#000000',
  },
}
SCSS
$custom: #ab313e;
$custom-light: #cb7273;
$custom-dark: #000000;
JSON
{
  "hex": "#ab313e",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 353.607,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50157,
    "c": 0.15748,
    "h": 19.1
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#AB313E
secondary
#75C2BA
accent
#DFCF49
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB313E

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

Preview Lab → · Contrast checker → · Palette generator →

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