#A7402F#A7402F

#A7402F is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.0% C 0.140 H 31.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A7402F
RGBrgb(167, 64, 47)
HSLhsl(9, 56%, 42%)
HSVhsv(9, 72%, 65%)
CMYKcmyk(0%, 61.7%, 71.9%, 34.5%)
CIE-LABlab(41.36, 41.40, 32.08)
CIE-LCHlch(41.36, 52.38, 37.77°)
OKLaboklab(51.02% 0.1188 0.0732)
OKLCHoklch(51.02% 0.14 31.6)
XYZxyz(18.2847, 12.0900, 4.0595)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7402F #2F96A7
analogous
#A72F5A #A7402F #A77C2F
triadic
#A7402F #2FA740 #402FA7
tetradic
#A7402F #5AA72F #2F96A7 #7C2FA7
square
#A7402F #5AA72F #2F96A7 #7C2FA7
split-complementary
#A7402F #2FA77C #2F5AA7
monochromatic
#471B14 #772E22 #A7402F #CB5A48 #D98578

Accessibility & contrast

On white

6.14
#A7402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A7402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7402F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7402F#FFFFFF#000000##FFFFFF
##A7402F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532D
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#B7283C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a7402f;
/* rgb */ color: rgb(167, 64, 47);
/* oklch */ color: oklch(51.0% 0.140 31.6);
Tailwind
colors: {
  custom: {
    50: '#c87968',
    500: '#a7402f',
    950: '#000000',
  },
}
SCSS
$custom: #a7402f;
$custom-light: #c87968;
$custom-dark: #000000;
JSON
{
  "hex": "#a7402f",
  "rgb": {
    "r": 167,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 8.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.13955,
    "h": 31.6
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#A7402F
secondary
#71B6C1
accent
#CADF48
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#140906
muted
#837B7A

Preview Lab

Preview with #A7402F

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

Preview Lab → · Contrast checker → · Palette generator →

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