#A5313E#A5313E

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

Color values

HEX#A5313E
RGBrgb(165, 49, 62)
HSLhsl(353, 54%, 42%)
HSVhsv(353, 70%, 65%)
CMYKcmyk(0%, 70.3%, 62.4%, 35.3%)
CIE-LABlab(38.81, 48.15, 19.80)
CIE-LCHlch(38.81, 52.06, 22.36°)
OKLaboklab(49.12% 0.1434 0.0479)
OKLCHoklch(49.12% 0.151 18.5)
XYZxyz(17.4866, 10.5462, 5.6713)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5313E #31A598
analogous
#A53178 #A5313E #A55E31
triadic
#A5313E #3EA531 #313EA5
tetradic
#A5313E #78A531 #31A598 #5E31A5
square
#A5313E #78A531 #31A598 #5E31A5
split-complementary
#A5313E #31A55E #3178A5
monochromatic
#47151B #76232C #A5313E #C94A58 #D77984

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5313E#FFFFFF#000000##FFFFFF
##A5313E1.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)
#504C3E
Deuteranopia (green-blind)
#6D643B
Tritanopia (blue-blind)
#B51237
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5313e;
/* rgb */ color: rgb(165, 49, 62);
/* oklch */ color: oklch(49.1% 0.151 18.5);
Tailwind
colors: {
  custom: {
    50: '#c67173',
    500: '#a5313e',
    950: '#000000',
  },
}
SCSS
$custom: #a5313e;
$custom-light: #c67173;
$custom-dark: #000000;
JSON
{
  "hex": "#a5313e",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 353.276,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.15116,
    "h": 18.5
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#A5313E
secondary
#72C0B7
accent
#DECD4A
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#140808
muted
#837B7B

Preview Lab

Preview with #A5313E

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

Preview Lab → · Contrast checker → · Palette generator →

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