#A5312F#A5312F

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

Color values

HEX#A5312F
RGBrgb(165, 49, 47)
HSLhsl(1, 56%, 42%)
HSVhsv(1, 72%, 65%)
CMYKcmyk(0%, 70.3%, 71.5%, 35.3%)
CIE-LABlab(38.56, 47.27, 28.73)
CIE-LCHlch(38.56, 55.32, 31.30°)
OKLaboklab(48.85% 0.1375 0.066)
OKLCHoklch(48.85% 0.152 25.6)
XYZxyz(17.1303, 10.4037, 3.7949)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5312F #2FA3A5
analogous
#A52F68 #A5312F #A56C2F
triadic
#A5312F #2FA531 #312FA5
tetradic
#A5312F #68A52F #2FA3A5 #6C2FA5
square
#A5312F #68A52F #2FA3A5 #6C2FA5
split-complementary
#A5312F #2FA56C #2F68A5
monochromatic
#461514 #752321 #A5312F #CB4947 #D87876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5312F#FFFFFF#000000##FFFFFF
##A5312F1.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)
#524B2E
Deuteranopia (green-blind)
#6F642B
Tritanopia (blue-blind)
#B60B32
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5312f;
/* rgb */ color: rgb(165, 49, 47);
/* oklch */ color: oklch(48.9% 0.152 25.6);
Tailwind
colors: {
  custom: {
    50: '#c77168',
    500: '#a5312f',
    950: '#000000',
  },
}
SCSS
$custom: #a5312f;
$custom-light: #c77168;
$custom-dark: #000000;
JSON
{
  "hex": "#a5312f",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 1.017,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.15248,
    "h": 25.6
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#A5312F
secondary
#70BFC0
accent
#DCDF49
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#140806
muted
#837B7A

Preview Lab

Preview with #A5312F

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

Preview Lab → · Contrast checker → · Palette generator →

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