#A8312D#A8312D

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

Color values

HEX#A8312D
RGBrgb(168, 49, 45)
HSLhsl(2, 58%, 42%)
HSVhsv(2, 73%, 66%)
CMYKcmyk(0%, 70.8%, 73.2%, 34.1%)
CIE-LABlab(39.09, 48.17, 30.70)
CIE-LCHlch(39.09, 57.12, 32.51°)
OKLaboklab(49.35% 0.1395 0.0697)
OKLCHoklch(49.35% 0.156 26.5)
XYZxyz(17.7224, 10.7136, 3.6169)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8312D #2DA4A8
analogous
#A82D67 #A8312D #A86F2D
triadic
#A8312D #2DA831 #312DA8
tetradic
#A8312D #67A82D #2DA4A8 #6F2DA8
square
#A8312D #67A82D #2DA4A8 #6F2DA8
split-complementary
#A8312D #2DA86F #2D67A8
monochromatic
#471513 #782320 #A8312D #CD4945 #DA7975

Accessibility & contrast

On white

6.68
#A8312D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8312D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8312D#FFFFFF#000000##FFFFFF
##A8312D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2B
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#B90631
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8312d;
/* rgb */ color: rgb(168, 49, 45);
/* oklch */ color: oklch(49.3% 0.156 26.5);
Tailwind
colors: {
  custom: {
    50: '#ca7166',
    500: '#a8312d',
    950: '#000000',
  },
}
SCSS
$custom: #a8312d;
$custom-light: #ca7166;
$custom-dark: #000000;
JSON
{
  "hex": "#a8312d",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.951,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.15597,
    "h": 26.5
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#A8312D
secondary
#6FBFC2
accent
#DCE147
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #A8312D

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

Preview Lab → · Contrast checker → · Palette generator →

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