#400A0A#400A0A

#400A0A is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.7% C 0.083 H 25.7°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#400A0A
RGBrgb(64, 10, 10)
HSLhsl(0, 73%, 15%)
HSVhsv(0, 84%, 25%)
CMYKcmyk(0%, 84.4%, 84.4%, 74.9%)
CIE-LABlab(11.48, 25.71, 13.73)
CIE-LCHlch(11.48, 29.15, 28.10°)
OKLaboklab(24.68% 0.0745 0.0358)
OKLCHoklch(24.68% 0.083 25.7)
XYZxyz(2.2779, 1.3293, 0.4237)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A0A #0A4040
analogous
#400A25 #400A0A #40250A
triadic
#400A0A #0A400A #0A0A40
tetradic
#400A0A #25400A #0A4040 #250A40
square
#400A0A #25400A #0A4040 #250A40
split-complementary
#400A0A #0A4025 #0A2540
monochromatic
#1A0404 #1A0404 #400A0A #751212 #AA1B1B

Accessibility & contrast

On white

16.59
#400A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400A0A
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A0A#FFFFFF#000000##FFFFFF
##400A0A1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1709
Deuteranopia (green-blind)
#282308
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400a0a;
/* rgb */ color: rgb(64, 10, 10);
/* oklch */ color: oklch(24.7% 0.083 25.7);
Tailwind
colors: {
  custom: {
    50: '#7a4e4b',
    500: '#400a0a',
    950: '#000000',
  },
}
SCSS
$custom: #400a0a;
$custom-light: #7a4e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#400a0a",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 10
  },
  "hsl": {
    "h": 0,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24681,
    "c": 0.08262,
    "h": 25.7
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#400A0A
secondary
#297D7D
accent
#F0F038
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400A0A

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

Preview Lab → · Contrast checker → · Palette generator →

#400A0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva