#A5312D#A5312D

#A5312D is a mid, vivid red. Relative luminance 0.104; OKLCH L 48.8% C 0.153 H 26.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A5312D
RGBrgb(165, 49, 45)
HSLhsl(2, 57%, 41%)
HSVhsv(2, 73%, 65%)
CMYKcmyk(0%, 70.3%, 72.7%, 35.3%)
CIE-LABlab(38.53, 47.17, 29.90)
CIE-LCHlch(38.53, 55.85, 32.37°)
OKLaboklab(48.82% 0.1367 0.0681)
OKLCHoklch(48.82% 0.153 26.5)
XYZxyz(17.0909, 10.3880, 3.5873)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5312D #2DA1A5
analogous
#A52D65 #A5312D #A56D2D
triadic
#A5312D #2DA531 #312DA5
tetradic
#A5312D #65A52D #2DA1A5 #6D2DA5
square
#A5312D #65A52D #2DA1A5 #6D2DA5
split-complementary
#A5312D #2DA56D #2D65A5
monochromatic
#451413 #752320 #A5312D #CC4843 #D97773

Accessibility & contrast

On white

6.82
#A5312D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A5312D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5312D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5312D#FFFFFF#000000##FFFFFF
##A5312D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#B60A31
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5312d;
/* rgb */ color: rgb(165, 49, 45);
/* oklch */ color: oklch(48.8% 0.153 26.5);
Tailwind
colors: {
  custom: {
    50: '#c77166',
    500: '#a5312d',
    950: '#000000',
  },
}
SCSS
$custom: #a5312d;
$custom-light: #c77166;
$custom-dark: #000000;
JSON
{
  "hex": "#a5312d",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 2,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.15277,
    "h": 26.5
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#A5312D
secondary
#6DBEC1
accent
#DBE047
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#140806
muted
#837B7A

Preview Lab

Preview with #A5312D

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

Preview Lab → · Contrast checker → · Palette generator →

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