#A5313B#A5313B

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

Color values

HEX#A5313B
RGBrgb(165, 49, 59)
HSLhsl(355, 54%, 42%)
HSVhsv(355, 70%, 65%)
CMYKcmyk(0%, 70.3%, 64.2%, 35.3%)
CIE-LABlab(38.75, 47.95, 21.60)
CIE-LCHlch(38.75, 52.59, 24.25°)
OKLaboklab(49.06% 0.1422 0.0518)
OKLCHoklch(49.06% 0.151 20)
XYZxyz(17.4066, 10.5142, 5.2497)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5313B #31A59B
analogous
#A53175 #A5313B #A56131
triadic
#A5313B #3BA531 #313BA5
tetradic
#A5313B #75A531 #31A59B #6131A5
square
#A5313B #75A531 #31A59B #6131A5
split-complementary
#A5313B #31A561 #3175A5
monochromatic
#471519 #76232A #A5313B #C94A55 #D77981

Accessibility & contrast

On white

6.77
#A5313B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A5313B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5313B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5313B#FFFFFF#000000##FFFFFF
##A5313B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3B
Deuteranopia (green-blind)
#6E6438
Tritanopia (blue-blind)
#B51136
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5313b;
/* rgb */ color: rgb(165, 49, 59);
/* oklch */ color: oklch(49.1% 0.151 20.0);
Tailwind
colors: {
  custom: {
    50: '#c67170',
    500: '#a5313b',
    950: '#000000',
  },
}
SCSS
$custom: #a5313b;
$custom-light: #c67170;
$custom-dark: #000000;
JSON
{
  "hex": "#a5313b",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 354.828,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.15128,
    "h": 20
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#A5313B
secondary
#72C0B9
accent
#DED14A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140807
muted
#837B7A

Preview Lab

Preview with #A5313B

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

Preview Lab → · Contrast checker → · Palette generator →

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