#A5402F#A5402F

#A5402F is a mid, vivid red. Relative luminance 0.119; OKLCH L 50.7% C 0.137 H 31.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A5402F
RGBrgb(165, 64, 47)
HSLhsl(9, 56%, 42%)
HSVhsv(9, 72%, 65%)
CMYKcmyk(0%, 61.2%, 71.5%, 35.3%)
CIE-LABlab(41.01, 40.66, 31.60)
CIE-LCHlch(41.01, 51.49, 37.85°)
OKLaboklab(50.7% 0.1167 0.0722)
OKLCHoklch(50.7% 0.137 31.7)
XYZxyz(17.8654, 11.8738, 4.0399)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5402F #2F94A5
analogous
#A52F59 #A5402F #A57B2F
triadic
#A5402F #2FA540 #402FA5
tetradic
#A5402F #59A52F #2F94A5 #7B2FA5
square
#A5402F #59A52F #2F94A5 #7B2FA5
split-complementary
#A5402F #2FA57B #2F59A5
monochromatic
#461B14 #752E21 #A5402F #CB5A47 #D88476

Accessibility & contrast

On white

6.22
#A5402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A5402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5402F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5402F#FFFFFF#000000##FFFFFF
##A5402F1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532D
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#B5293C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5402f;
/* rgb */ color: rgb(165, 64, 47);
/* oklch */ color: oklch(50.7% 0.137 31.7);
Tailwind
colors: {
  custom: {
    50: '#c67968',
    500: '#a5402f',
    950: '#000000',
  },
}
SCSS
$custom: #a5402f;
$custom-light: #c67968;
$custom-dark: #000000;
JSON
{
  "hex": "#a5402f",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 8.644,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.13728,
    "h": 31.7
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#A5402F
secondary
#70B4C0
accent
#C9DF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#140906
muted
#837B7A

Preview Lab

Preview with #A5402F

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

Preview Lab → · Contrast checker → · Palette generator →

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