#A5312A#A5312A

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

Color values

HEX#A5312A
RGBrgb(165, 49, 42)
HSLhsl(3, 59%, 41%)
HSVhsv(3, 75%, 65%)
CMYKcmyk(0%, 70.3%, 74.5%, 35.3%)
CIE-LABlab(38.49, 47.03, 31.63)
CIE-LCHlch(38.49, 56.68, 33.92°)
OKLaboklab(48.78% 0.1357 0.0713)
OKLCHoklch(48.78% 0.153 27.7)
XYZxyz(17.0352, 10.3657, 3.2938)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5312A #2A9EA5
analogous
#A52A60 #A5312A #A56F2A
triadic
#A5312A #2AA531 #312AA5
tetradic
#A5312A #60A52A #2A9EA5 #6F2AA5
square
#A5312A #60A52A #2A9EA5 #6F2AA5
split-complementary
#A5312A #2AA56F #2A60A5
monochromatic
#431411 #74231E #A5312A #CE463E #DA756F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5312A#FFFFFF#000000##FFFFFF
##A5312A1.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)
#524B28
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#B60830
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5312a;
/* rgb */ color: rgb(165, 49, 42);
/* oklch */ color: oklch(48.8% 0.153 27.7);
Tailwind
colors: {
  custom: {
    50: '#c87164',
    500: '#a5312a',
    950: '#000000',
  },
}
SCSS
$custom: #a5312a;
$custom-light: #c87164;
$custom-dark: #000000;
JSON
{
  "hex": "#a5312a",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.415,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48781,
    "c": 0.15323,
    "h": 27.7
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#A5312A
secondary
#69BCC1
accent
#DAE345
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #A5312A

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

Preview Lab → · Contrast checker → · Palette generator →

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