#A8313A#A8313A

#A8313A is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.6% C 0.155 H 20.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A8313A
RGBrgb(168, 49, 58)
HSLhsl(355, 55%, 43%)
HSVhsv(355, 71%, 66%)
CMYKcmyk(0%, 70.8%, 65.5%, 34.1%)
CIE-LABlab(39.29, 48.87, 23.03)
CIE-LCHlch(39.29, 54.03, 25.23°)
OKLaboklab(49.56% 0.1445 0.0548)
OKLCHoklch(49.56% 0.155 20.8)
XYZxyz(18.0124, 10.8295, 5.1440)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8313A #31A89F
analogous
#A83176 #A8313A #A86331
triadic
#A8313A #3AA831 #313AA8
tetradic
#A8313A #76A831 #31A89F #6331A8
square
#A8313A #76A831 #31A89F #6331A8
split-complementary
#A8313A #31A863 #3176A8
monochromatic
#491519 #79232A #A8313A #CB4C55 #D87B82

Accessibility & contrast

On white

6.63
#A8313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A8313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8313A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8313A#FFFFFF#000000##FFFFFF
##A8313A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C39
Deuteranopia (green-blind)
#706637
Tritanopia (blue-blind)
#B80D35
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8313a;
/* rgb */ color: rgb(168, 49, 58);
/* oklch */ color: oklch(49.6% 0.155 20.8);
Tailwind
colors: {
  custom: {
    50: '#c97170',
    500: '#a8313a',
    950: '#000000',
  },
}
SCSS
$custom: #a8313a;
$custom-light: #c97170;
$custom-dark: #000000;
JSON
{
  "hex": "#a8313a",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 355.462,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.15453,
    "h": 20.8
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#A8313A
secondary
#74C1BB
accent
#DED34A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140807
muted
#837B7A

Preview Lab

Preview with #A8313A

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

Preview Lab → · Contrast checker → · Palette generator →

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