#A6402F#A6402F

#A6402F is a mid, vivid red. Relative luminance 0.120; OKLCH L 50.9% C 0.138 H 31.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A6402F
RGBrgb(166, 64, 47)
HSLhsl(9, 56%, 42%)
HSVhsv(9, 72%, 65%)
CMYKcmyk(0%, 61.4%, 71.7%, 34.9%)
CIE-LABlab(41.19, 41.03, 31.84)
CIE-LCHlch(41.19, 51.93, 37.81°)
OKLaboklab(50.86% 0.1178 0.0727)
OKLCHoklch(50.86% 0.138 31.7)
XYZxyz(18.0742, 11.9815, 4.0497)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6402F #2F95A6
analogous
#A62F5A #A6402F #A67C2F
triadic
#A6402F #2FA640 #402FA6
tetradic
#A6402F #5AA62F #2F95A6 #7C2FA6
square
#A6402F #5AA62F #2F95A6 #7C2FA6
split-complementary
#A6402F #2FA67C #2F5AA6
monochromatic
#471B14 #762E21 #A6402F #CB5A47 #D88577

Accessibility & contrast

On white

6.18
#A6402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A6402F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6402F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6402F#FFFFFF#000000##FFFFFF
##A6402F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532D
Deuteranopia (green-blind)
#75692C
Tritanopia (blue-blind)
#B6293C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a6402f;
/* rgb */ color: rgb(166, 64, 47);
/* oklch */ color: oklch(50.9% 0.138 31.7);
Tailwind
colors: {
  custom: {
    50: '#c77968',
    500: '#a6402f',
    950: '#000000',
  },
}
SCSS
$custom: #a6402f;
$custom-light: #c77968;
$custom-dark: #000000;
JSON
{
  "hex": "#a6402f",
  "rgb": {
    "r": 166,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 8.571,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50861,
    "c": 0.13841,
    "h": 31.7
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#A6402F
secondary
#70B5C1
accent
#CADF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#140906
muted
#837B7A

Preview Lab

Preview with #A6402F

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

Preview Lab → · Contrast checker → · Palette generator →

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