#A8312A#A8312A

#A8312A is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.3% C 0.156 H 27.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A8312A
RGBrgb(168, 49, 42)
HSLhsl(3, 60%, 41%)
HSVhsv(3, 75%, 66%)
CMYKcmyk(0%, 70.8%, 75%, 34.1%)
CIE-LABlab(39.06, 48.04, 32.42)
CIE-LCHlch(39.06, 57.96, 34.01°)
OKLaboklab(49.31% 0.1385 0.0728)
OKLCHoklch(49.31% 0.156 27.7)
XYZxyz(17.6667, 10.6913, 3.3234)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8312A #2AA1A8
analogous
#A82A62 #A8312A #A8702A
triadic
#A8312A #2AA831 #312AA8
tetradic
#A8312A #62A82A #2AA1A8 #702AA8
square
#A8312A #62A82A #2AA1A8 #702AA8
split-complementary
#A8312A #2AA870 #2A62A8
monochromatic
#461412 #77231E #A8312A #CF4840 #DB7771

Accessibility & contrast

On white

6.69
#A8312A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A8312A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8312A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8312A#FFFFFF#000000##FFFFFF
##A8312A1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#B90430
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8312a;
/* rgb */ color: rgb(168, 49, 42);
/* oklch */ color: oklch(49.3% 0.156 27.7);
Tailwind
colors: {
  custom: {
    50: '#ca7164',
    500: '#a8312a',
    950: '#000000',
  },
}
SCSS
$custom: #a8312a;
$custom-light: #ca7164;
$custom-dark: #000000;
JSON
{
  "hex": "#a8312a",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.333,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.15642,
    "h": 27.7
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#A8312A
secondary
#6BBEC3
accent
#DAE345
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #A8312A

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

Preview Lab → · Contrast checker → · Palette generator →

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