#AB313C#AB313C

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

Color values

HEX#AB313C
RGBrgb(171, 49, 60)
HSLhsl(355, 55%, 43%)
HSVhsv(355, 71%, 67%)
CMYKcmyk(0%, 71.3%, 64.9%, 32.9%)
CIE-LABlab(39.89, 49.97, 22.66)
CIE-LCHlch(39.89, 54.86, 24.40°)
OKLaboklab(50.12% 0.148 0.0541)
OKLCHoklch(50.12% 0.158 20.1)
XYZxyz(18.7105, 11.1835, 5.4475)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB313C #31ABA0
analogous
#AB3179 #AB313C #AB6331
triadic
#AB313C #3CAB31 #313CAB
tetradic
#AB313C #79AB31 #31ABA0 #6331AB
square
#AB313C #79AB31 #31ABA0 #6331AB
split-complementary
#AB313C #31AB63 #3179AB
monochromatic
#4C161B #7B232B #AB313C #CC4D59 #DA7D85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB313C#FFFFFF#000000##FFFFFF
##AB313C1.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)
#524E3C
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#BC0B36
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab313c;
/* rgb */ color: rgb(171, 49, 60);
/* oklch */ color: oklch(50.1% 0.158 20.1);
Tailwind
colors: {
  custom: {
    50: '#cb7271',
    500: '#ab313c',
    950: '#000000',
  },
}
SCSS
$custom: #ab313c;
$custom-light: #cb7271;
$custom-dark: #000000;
JSON
{
  "hex": "#ab313c",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 354.59,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.15757,
    "h": 20.1
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#AB313C
secondary
#75C2BB
accent
#DFD149
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB313C

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

Preview Lab → · Contrast checker → · Palette generator →

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