#A5313D#A5313D

#A5313D is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.151 H 19.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A5313D
RGBrgb(165, 49, 61)
HSLhsl(354, 54%, 42%)
HSVhsv(354, 70%, 65%)
CMYKcmyk(0%, 70.3%, 63%, 35.3%)
CIE-LABlab(38.79, 48.08, 20.40)
CIE-LCHlch(38.79, 52.23, 22.99°)
OKLaboklab(49.1% 0.143 0.0492)
OKLCHoklch(49.1% 0.151 19)
XYZxyz(17.4594, 10.5354, 5.5281)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5313D #31A599
analogous
#A53177 #A5313D #A55F31
triadic
#A5313D #3DA531 #313DA5
tetradic
#A5313D #77A531 #31A599 #5F31A5
square
#A5313D #77A531 #31A599 #5F31A5
split-complementary
#A5313D #31A55F #3177A5
monochromatic
#47151A #76232C #A5313D #C94A57 #D77983

Accessibility & contrast

On white

6.76
#A5313D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A5313D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5313D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5313D#FFFFFF#000000##FFFFFF
##A5313D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3D
Deuteranopia (green-blind)
#6D643A
Tritanopia (blue-blind)
#B51236
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5313d;
/* rgb */ color: rgb(165, 49, 61);
/* oklch */ color: oklch(49.1% 0.151 19.0);
Tailwind
colors: {
  custom: {
    50: '#c67172',
    500: '#a5313d',
    950: '#000000',
  },
}
SCSS
$custom: #a5313d;
$custom-light: #c67172;
$custom-dark: #000000;
JSON
{
  "hex": "#a5313d",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 353.793,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49097,
    "c": 0.15119,
    "h": 19
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#A5313D
secondary
#72C0B8
accent
#DECE4A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140808
muted
#837B7B

Preview Lab

Preview with #A5313D

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

Preview Lab → · Contrast checker → · Palette generator →

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