#A5401F#A5401F

#A5401F is a mid, vivid red. Relative luminance 0.118; OKLCH L 50.5% C 0.141 H 37.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A5401F
RGBrgb(165, 64, 31)
HSLhsl(15, 68%, 38%)
HSVhsv(15, 81%, 65%)
CMYKcmyk(0%, 61.2%, 81.2%, 35.3%)
CIE-LABlab(40.84, 39.97, 40.12)
CIE-LCHlch(40.84, 56.63, 45.10°)
OKLaboklab(50.52% 0.1115 0.0866)
OKLCHoklch(50.52% 0.141 37.8)
XYZxyz(17.5997, 11.7675, 2.6407)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5401F #1F84A5
analogous
#A51F41 #A5401F #A5831F
triadic
#A5401F #1FA540 #401FA5
tetradic
#A5401F #41A51F #1F84A5 #831FA5
square
#A5401F #41A51F #1F84A5 #831FA5
split-complementary
#A5401F #1FA583 #1F41A5
monochromatic
#3E180C #712C15 #A5401F #D7552A #E17E5E

Accessibility & contrast

On white

6.26
#A5401F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A5401F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5401F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5401F#FFFFFF#000000##FFFFFF
##A5401F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D521A
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#B62739
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5401f;
/* rgb */ color: rgb(165, 64, 31);
/* oklch */ color: oklch(50.5% 0.141 37.8);
Tailwind
colors: {
  custom: {
    50: '#c7795d',
    500: '#a5401f',
    950: '#000000',
  },
}
SCSS
$custom: #a5401f;
$custom-light: #c7795d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5401f",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 14.776,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.14124,
    "h": 37.8
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#A5401F
secondary
#5BABC5
accent
#C0EB3D
background
#FDF7F5
surface
#FAEEE9
border
#D3C9C5
text
#150904
muted
#837B79

Preview Lab

Preview with #A5401F

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

Preview Lab → · Contrast checker → · Palette generator →

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