#A7313E#A7313E

#A7313E is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.153 H 18.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A7313E
RGBrgb(167, 49, 62)
HSLhsl(353, 55%, 42%)
HSVhsv(353, 71%, 65%)
CMYKcmyk(0%, 70.7%, 62.9%, 34.5%)
CIE-LABlab(39.18, 48.80, 20.36)
CIE-LCHlch(39.18, 52.87, 22.64°)
OKLaboklab(49.46% 0.1452 0.0492)
OKLCHoklch(49.46% 0.153 18.7)
XYZxyz(17.9060, 10.7625, 5.6910)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7313E #31A79A
analogous
#A73179 #A7313E #A75F31
triadic
#A7313E #3EA731 #313EA7
tetradic
#A7313E #79A731 #31A79A #5F31A7
square
#A7313E #79A731 #31A79A #5F31A7
split-complementary
#A7313E #31A75F #3179A7
monochromatic
#48151B #78232C #A7313E #CA4B59 #D87A85

Accessibility & contrast

On white

6.66
#A7313E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7313E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7313E#FFFFFF#000000##FFFFFF
##A7313E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C3E
Deuteranopia (green-blind)
#6E653B
Tritanopia (blue-blind)
#B71137
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7313e;
/* rgb */ color: rgb(167, 49, 62);
/* oklch */ color: oklch(49.5% 0.153 18.7);
Tailwind
colors: {
  custom: {
    50: '#c87173',
    500: '#a7313e',
    950: '#000000',
  },
}
SCSS
$custom: #a7313e;
$custom-light: #c87173;
$custom-dark: #000000;
JSON
{
  "hex": "#a7313e",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 353.39,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.15327,
    "h": 18.7
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#A7313E
secondary
#73C1B8
accent
#DECE4A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140808
muted
#837B7B

Preview Lab

Preview with #A7313E

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

Preview Lab → · Contrast checker → · Palette generator →

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