#400D06#400D06

#400D06 is a very dark, moderate red. Relative luminance 0.014; OKLCH L 25.0% C 0.080 H 31.4°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#400D06
RGBrgb(64, 13, 6)
HSLhsl(7, 83%, 14%)
HSVhsv(7, 91%, 25%)
CMYKcmyk(0%, 79.7%, 90.6%, 74.9%)
CIE-LABlab(11.90, 24.18, 15.94)
CIE-LCHlch(11.90, 28.96, 33.38°)
OKLaboklab(24.98% 0.0685 0.0419)
OKLCHoklch(24.98% 0.08 31.4)
XYZxyz(2.2914, 1.3913, 0.3202)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D06 #063940
analogous
#40061C #400D06 #402A06
triadic
#400D06 #06400D #0D0640
tetradic
#400D06 #1C4006 #063940 #2A0640
square
#400D06 #1C4006 #063940 #2A0640
split-complementary
#400D06 #06402A #061C40
monochromatic
#1C0603 #1C0603 #400D06 #78180B #B02410

Accessibility & contrast

On white

16.43
#400D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400D06
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D06#FFFFFF#000000##FFFFFF
##400D061.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400d06;
/* rgb */ color: rgb(64, 13, 6);
/* oklch */ color: oklch(25.0% 0.080 31.4);
Tailwind
colors: {
  custom: {
    50: '#7a5049',
    500: '#400d06',
    950: '#000000',
  },
}
SCSS
$custom: #400d06;
$custom-light: #7a5049;
$custom-dark: #000000;
JSON
{
  "hex": "#400d06",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 6
  },
  "hsl": {
    "h": 7.241,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24977,
    "c": 0.08033,
    "h": 31.4
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#400D06
secondary
#227480
accent
#E1F92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400D06

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

Preview Lab → · Contrast checker → · Palette generator →

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