#A5312B#A5312B

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

Color values

HEX#A5312B
RGBrgb(165, 49, 43)
HSLhsl(3, 59%, 41%)
HSVhsv(3, 74%, 65%)
CMYKcmyk(0%, 70.3%, 73.9%, 35.3%)
CIE-LABlab(38.50, 47.08, 31.06)
CIE-LCHlch(38.50, 56.40, 33.41°)
OKLaboklab(48.8% 0.136 0.0702)
OKLCHoklch(48.8% 0.153 27.3)
XYZxyz(17.0533, 10.3729, 3.3893)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5312B #2B9FA5
analogous
#A52B62 #A5312B #A56E2B
triadic
#A5312B #2BA531 #312BA5
tetradic
#A5312B #62A52B #2B9FA5 #6E2BA5
square
#A5312B #62A52B #2B9FA5 #6E2BA5
split-complementary
#A5312B #2BA56E #2B62A5
monochromatic
#441412 #74231E #A5312B #CD4740 #DA7671

Accessibility & contrast

On white

6.83
#A5312B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A5312B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5312B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5312B#FFFFFF#000000##FFFFFF
##A5312B1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#B60931
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5312b;
/* rgb */ color: rgb(165, 49, 43);
/* oklch */ color: oklch(48.8% 0.153 27.3);
Tailwind
colors: {
  custom: {
    50: '#c77165',
    500: '#a5312b',
    950: '#000000',
  },
}
SCSS
$custom: #a5312b;
$custom-light: #c77165;
$custom-dark: #000000;
JSON
{
  "hex": "#a5312b",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.951,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48795,
    "c": 0.15308,
    "h": 27.3
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#A5312B
secondary
#6BBDC1
accent
#DAE246
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #A5312B

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

Preview Lab → · Contrast checker → · Palette generator →

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