#400A14#400A14

#400A14 is a very dark, moderate red. Relative luminance 0.014; OKLCH L 24.9% C 0.082 H 15.3°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#400A14
RGBrgb(64, 10, 20)
HSLhsl(349, 73%, 15%)
HSVhsv(349, 84%, 25%)
CMYKcmyk(0%, 84.4%, 68.8%, 74.9%)
CIE-LABlab(11.67, 26.36, 8.68)
CIE-LCHlch(11.67, 27.76, 18.23°)
OKLaboklab(24.89% 0.0791 0.0216)
OKLCHoklch(24.89% 0.082 15.3)
XYZxyz(2.3494, 1.3579, 0.8001)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A14 #0A4036
analogous
#400A2F #400A14 #401B0A
triadic
#400A14 #14400A #0A1440
tetradic
#400A14 #2F400A #0A4036 #1B0A40
square
#400A14 #2F400A #0A4036 #1B0A40
split-complementary
#400A14 #0A401B #0A2F40
monochromatic
#1A0408 #1A0408 #400A14 #751225 #AA1B35

Accessibility & contrast

On white

16.51
#400A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400A14
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A14#FFFFFF#000000##FFFFFF
##400A141.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191814
Deuteranopia (green-blind)
#272313
Tritanopia (blue-blind)
#47000E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400a14;
/* rgb */ color: rgb(64, 10, 20);
/* oklch */ color: oklch(24.9% 0.082 15.3);
Tailwind
colors: {
  custom: {
    50: '#794e51',
    500: '#400a14',
    950: '#000000',
  },
}
SCSS
$custom: #400a14;
$custom-light: #794e51;
$custom-dark: #000000;
JSON
{
  "hex": "#400a14",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 20
  },
  "hsl": {
    "h": 348.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2489,
    "c": 0.08195,
    "h": 15.3
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#400A14
secondary
#297D6E
accent
#F0CE38
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400A14

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

Preview Lab → · Contrast checker → · Palette generator →

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