#A7312E#A7312E

#A7312E is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.2% C 0.155 H 26.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A7312E
RGBrgb(167, 49, 46)
HSLhsl(1, 57%, 42%)
HSVhsv(1, 72%, 65%)
CMYKcmyk(0%, 70.7%, 72.5%, 34.5%)
CIE-LABlab(38.92, 47.89, 29.85)
CIE-LCHlch(38.92, 56.43, 31.94°)
OKLaboklab(49.19% 0.139 0.0681)
OKLCHoklch(49.19% 0.155 26.1)
XYZxyz(17.5297, 10.6120, 3.7095)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7312E #2EA4A7
analogous
#A72E67 #A7312E #A76E2E
triadic
#A7312E #2EA731 #312EA7
tetradic
#A7312E #67A72E #2EA4A7 #6E2EA7
square
#A7312E #67A72E #2EA4A7 #6E2EA7
split-complementary
#A7312E #2EA76E #2E67A7
monochromatic
#471514 #772321 #A7312E #CC4946 #D97976

Accessibility & contrast

On white

6.73
#A7312E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A7312E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7312E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7312E#FFFFFF#000000##FFFFFF
##A7312E1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B2D
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#B80832
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7312e;
/* rgb */ color: rgb(167, 49, 46);
/* oklch */ color: oklch(49.2% 0.155 26.1);
Tailwind
colors: {
  custom: {
    50: '#c97167',
    500: '#a7312e',
    950: '#000000',
  },
}
SCSS
$custom: #a7312e;
$custom-light: #c97167;
$custom-dark: #000000;
JSON
{
  "hex": "#a7312e",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.488,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.15476,
    "h": 26.1
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#A7312E
secondary
#70BFC1
accent
#DCE048
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #A7312E

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

Preview Lab → · Contrast checker → · Palette generator →

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