#A7312B#A7312B

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

Color values

HEX#A7312B
RGBrgb(167, 49, 43)
HSLhsl(3, 59%, 41%)
HSVhsv(3, 74%, 65%)
CMYKcmyk(0%, 70.7%, 74.3%, 34.5%)
CIE-LABlab(38.88, 47.75, 31.59)
CIE-LCHlch(38.88, 57.25, 33.48°)
OKLaboklab(49.15% 0.1379 0.0713)
OKLCHoklch(49.15% 0.155 27.3)
XYZxyz(17.4727, 10.5891, 3.4089)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7312B #2BA1A7
analogous
#A72B63 #A7312B #A76F2B
triadic
#A7312B #2BA731 #312BA7
tetradic
#A7312B #63A72B #2BA1A7 #6F2BA7
square
#A7312B #63A72B #2BA1A7 #6F2BA7
split-complementary
#A7312B #2BA76F #2B63A7
monochromatic
#461412 #76231E #A7312B #CE4841 #DB7772

Accessibility & contrast

On white

6.74
#A7312B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7312B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7312B#FFFFFF#000000##FFFFFF
##A7312B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B29
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#B80631
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7312b;
/* rgb */ color: rgb(167, 49, 43);
/* oklch */ color: oklch(49.1% 0.155 27.3);
Tailwind
colors: {
  custom: {
    50: '#c97165',
    500: '#a7312b',
    950: '#000000',
  },
}
SCSS
$custom: #a7312b;
$custom-light: #c97165;
$custom-dark: #000000;
JSON
{
  "hex": "#a7312b",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.903,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.1552,
    "h": 27.3
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#A7312B
secondary
#6CBEC2
accent
#DBE246
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #A7312B

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

Preview Lab → · Contrast checker → · Palette generator →

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