#400D0A#400D0A

#400D0A is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.0% C 0.079 H 27.7°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#400D0A
RGBrgb(64, 13, 10)
HSLhsl(3, 73%, 15%)
HSVhsv(3, 84%, 25%)
CMYKcmyk(0%, 79.7%, 84.4%, 74.9%)
CIE-LABlab(11.96, 24.39, 14.39)
CIE-LCHlch(11.96, 28.32, 30.54°)
OKLaboklab(25.04% 0.0703 0.0369)
OKLCHoklch(25.04% 0.079 27.7)
XYZxyz(2.3133, 1.4001, 0.4355)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D0A #0A3D40
analogous
#400A22 #400D0A #40280A
triadic
#400D0A #0A400D #0D0A40
tetradic
#400D0A #22400A #0A3D40 #280A40
square
#400D0A #22400A #0A3D40 #280A40
split-complementary
#400D0A #0A4028 #0A2240
monochromatic
#1A0504 #1A0504 #400D0A #751812 #AA231B

Accessibility & contrast

On white

16.41
#400D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400D0A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D0A#FFFFFF#000000##FFFFFF
##400D0A1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1809
Deuteranopia (green-blind)
#282308
Tritanopia (blue-blind)
#47010D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400d0a;
/* rgb */ color: rgb(64, 13, 10);
/* oklch */ color: oklch(25.0% 0.079 27.7);
Tailwind
colors: {
  custom: {
    50: '#7a504b',
    500: '#400d0a',
    950: '#000000',
  },
}
SCSS
$custom: #400d0a;
$custom-light: #7a504b;
$custom-dark: #000000;
JSON
{
  "hex": "#400d0a",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 10
  },
  "hsl": {
    "h": 3.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25039,
    "c": 0.07942,
    "h": 27.7
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#400D0A
secondary
#29797D
accent
#E5F038
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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