#A64040#A64040

#A64040 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.1% C 0.135 H 23.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A64040
RGBrgb(166, 64, 64)
HSLhsl(0, 44%, 45%)
HSVhsv(0, 61%, 65%)
CMYKcmyk(0%, 61.4%, 61.4%, 34.9%)
CIE-LABlab(41.45, 42.08, 22.02)
CIE-LCHlch(41.45, 47.49, 27.62°)
OKLaboklab(51.14% 0.1244 0.0532)
OKLCHoklch(51.14% 0.135 23.1)
XYZxyz(18.4864, 12.1464, 6.2205)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64040 #40A6A6
analogous
#A64073 #A64040 #A67340
triadic
#A64040 #40A640 #4040A6
tetradic
#A64040 #73A640 #40A6A6 #7340A6
square
#A64040 #73A640 #40A6A6 #7340A6
split-complementary
#A64040 #40A673 #4073A6
monochromatic
#4E1E1E #7A2F2F #A64040 #C26161 #D38D8D

Accessibility & contrast

On white

6.12
#A64040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A64040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64040
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64040#FFFFFF#000000##FFFFFF
##A640401.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A543F
Deuteranopia (green-blind)
#736A3D
Tritanopia (blue-blind)
#B62C41
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a64040;
/* rgb */ color: rgb(166, 64, 64);
/* oklch */ color: oklch(51.1% 0.135 23.1);
Tailwind
colors: {
  custom: {
    50: '#c67974',
    500: '#a64040',
    950: '#000000',
  },
}
SCSS
$custom: #a64040;
$custom-light: #c67974;
$custom-dark: #000000;
JSON
{
  "hex": "#a64040",
  "rgb": {
    "r": 166,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51142,
    "c": 0.13525,
    "h": 23.1
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#A64040
secondary
#84BEBE
accent
#D4D454
background
#FCF7F7
surface
#F9EEED
border
#D2C9C8
text
#140908
muted
#827B7B

Preview Lab

Preview with #A64040

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

Preview Lab → · Contrast checker → · Palette generator →

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