#A7313D#A7313D

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

Color values

HEX#A7313D
RGBrgb(167, 49, 61)
HSLhsl(354, 55%, 42%)
HSVhsv(354, 71%, 65%)
CMYKcmyk(0%, 70.7%, 63.5%, 34.5%)
CIE-LABlab(39.16, 48.73, 20.96)
CIE-LCHlch(39.16, 53.05, 23.27°)
OKLaboklab(49.44% 0.1448 0.0504)
OKLCHoklch(49.44% 0.153 19.2)
XYZxyz(17.8788, 10.7516, 5.5478)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7313D #31A79B
analogous
#A73178 #A7313D #A76031
triadic
#A7313D #3DA731 #313DA7
tetradic
#A7313D #78A731 #31A79B #6031A7
square
#A7313D #78A731 #31A79B #6031A7
split-complementary
#A7313D #31A760 #3178A7
monochromatic
#48151A #78232C #A7313D #CA4B58 #D87A84

Accessibility & contrast

On white

6.67
#A7313D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A7313D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7313D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7313D#FFFFFF#000000##FFFFFF
##A7313D1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C3D
Deuteranopia (green-blind)
#6F653A
Tritanopia (blue-blind)
#B71036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7313d;
/* rgb */ color: rgb(167, 49, 61);
/* oklch */ color: oklch(49.4% 0.153 19.2);
Tailwind
colors: {
  custom: {
    50: '#c87172',
    500: '#a7313d',
    950: '#000000',
  },
}
SCSS
$custom: #a7313d;
$custom-light: #c87172;
$custom-dark: #000000;
JSON
{
  "hex": "#a7313d",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 353.898,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.15331,
    "h": 19.2
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#A7313D
secondary
#73C1B9
accent
#DECF4A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140808
muted
#837B7B

Preview Lab

Preview with #A7313D

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

Preview Lab → · Contrast checker → · Palette generator →

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