#400A0E#400A0E

#400A0E is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.8% C 0.082 H 21.9°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#400A0E
RGBrgb(64, 10, 14)
HSLhsl(356, 73%, 15%)
HSVhsv(356, 84%, 25%)
CMYKcmyk(0%, 84.4%, 78.1%, 74.9%)
CIE-LABlab(11.55, 25.94, 12.00)
CIE-LCHlch(11.55, 28.58, 24.83°)
OKLaboklab(24.75% 0.0762 0.0306)
OKLCHoklch(24.75% 0.082 21.9)
XYZxyz(2.3024, 1.3391, 0.5526)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A0E #0A403C
analogous
#400A29 #400A0E #40210A
triadic
#400A0E #0E400A #0A0E40
tetradic
#400A0E #29400A #0A403C #210A40
square
#400A0E #29400A #0A403C #210A40
split-complementary
#400A0E #0A4021 #0A2940
monochromatic
#1A0406 #1A0406 #400A0E #75121A #AA1B25

Accessibility & contrast

On white

16.56
#400A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400A0E
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A0E#FFFFFF#000000##FFFFFF
##400A0E1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A170E
Deuteranopia (green-blind)
#27230C
Tritanopia (blue-blind)
#47000C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400a0e;
/* rgb */ color: rgb(64, 10, 14);
/* oklch */ color: oklch(24.8% 0.082 21.9);
Tailwind
colors: {
  custom: {
    50: '#7a4e4d',
    500: '#400a0e',
    950: '#000000',
  },
}
SCSS
$custom: #400a0e;
$custom-light: #7a4e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#400a0e",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 14
  },
  "hsl": {
    "h": 355.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24753,
    "c": 0.08213,
    "h": 21.9
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#400A0E
secondary
#297D77
accent
#F0E238
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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