#A8312E#A8312E

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

Color values

HEX#A8312E
RGBrgb(168, 49, 46)
HSLhsl(1, 57%, 42%)
HSVhsv(1, 73%, 66%)
CMYKcmyk(0%, 70.8%, 72.6%, 34.1%)
CIE-LABlab(39.11, 48.22, 30.12)
CIE-LCHlch(39.11, 56.85, 31.99°)
OKLaboklab(49.36% 0.1399 0.0687)
OKLCHoklch(49.36% 0.156 26.1)
XYZxyz(17.7419, 10.7214, 3.7195)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8312E #2EA5A8
analogous
#A82E68 #A8312E #A86E2E
triadic
#A8312E #2EA831 #312EA8
tetradic
#A8312E #68A82E #2EA5A8 #6E2EA8
square
#A8312E #68A82E #2EA5A8 #6E2EA8
split-complementary
#A8312E #2EA86E #2E68A8
monochromatic
#481514 #782321 #A8312E #CD4A47 #DA7977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8312E#FFFFFF#000000##FFFFFF
##A8312E1.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)
#534C2D
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#B90632
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8312e;
/* rgb */ color: rgb(168, 49, 46);
/* oklch */ color: oklch(49.4% 0.156 26.1);
Tailwind
colors: {
  custom: {
    50: '#ca7167',
    500: '#a8312e',
    950: '#000000',
  },
}
SCSS
$custom: #a8312e;
$custom-light: #ca7167;
$custom-dark: #000000;
JSON
{
  "hex": "#a8312e",
  "rgb": {
    "r": 168,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.475,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.15582,
    "h": 26.1
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#A8312E
secondary
#70C0C2
accent
#DDE048
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #A8312E

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

Preview Lab → · Contrast checker → · Palette generator →

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