#AB312B#AB312B

#AB312B is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.8% C 0.159 H 27.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AB312B
RGBrgb(171, 49, 43)
HSLhsl(3, 60%, 42%)
HSVhsv(3, 75%, 67%)
CMYKcmyk(0%, 71.3%, 74.9%, 32.9%)
CIE-LABlab(39.63, 49.08, 32.64)
CIE-LCHlch(39.63, 58.94, 33.62°)
OKLaboklab(49.85% 0.1416 0.0733)
OKLCHoklch(49.85% 0.159 27.4)
XYZxyz(18.3310, 11.0317, 3.4491)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB312B #2BA5AB
analogous
#AB2B65 #AB312B #AB712B
triadic
#AB312B #2BAB31 #312BAB
tetradic
#AB312B #65AB2B #2BA5AB #712BAB
square
#AB312B #65AB2B #2BA5AB #712BAB
split-complementary
#AB312B #2BAB71 #2B65AB
monochromatic
#491512 #7A231F #AB312B #D04A43 #DC7974

Accessibility & contrast

On white

6.55
#AB312B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB312B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB312B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB312B#FFFFFF#000000##FFFFFF
##AB312B1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#BC0131
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab312b;
/* rgb */ color: rgb(171, 49, 43);
/* oklch */ color: oklch(49.8% 0.159 27.4);
Tailwind
colors: {
  custom: {
    50: '#cc7165',
    500: '#ab312b',
    950: '#000000',
  },
}
SCSS
$custom: #ab312b;
$custom-light: #cc7165;
$custom-dark: #000000;
JSON
{
  "hex": "#ab312b",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.813,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49847,
    "c": 0.15943,
    "h": 27.4
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#AB312B
secondary
#6EC0C4
accent
#DCE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AB312B

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

Preview Lab → · Contrast checker → · Palette generator →

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