#400B07#400B07

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

Color values

HEX#400B07
RGBrgb(64, 11, 7)
HSLhsl(4, 80%, 14%)
HSVhsv(4, 89%, 25%)
CMYKcmyk(0%, 82.8%, 89.1%, 74.9%)
CIE-LABlab(11.59, 25.14, 15.10)
CIE-LCHlch(11.59, 29.32, 31.00°)
OKLaboklab(24.75% 0.0718 0.0399)
OKLCHoklch(24.75% 0.082 29)
XYZxyz(2.2726, 1.3450, 0.3409)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B07 #073C40
analogous
#400720 #400B07 #402807
triadic
#400B07 #07400B #0B0740
tetradic
#400B07 #204007 #073C40 #280740
square
#400B07 #204007 #073C40 #280740
split-complementary
#400B07 #074028 #072040
monochromatic
#1C0503 #1C0503 #400B07 #77140D #AE1E13

Accessibility & contrast

On white

16.55
#400B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B07
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B07#FFFFFF#000000##FFFFFF
##400B071.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1706
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b07;
/* rgb */ color: rgb(64, 11, 7);
/* oklch */ color: oklch(24.7% 0.082 29.0);
Tailwind
colors: {
  custom: {
    50: '#7a4f49',
    500: '#400b07',
    950: '#000000',
  },
}
SCSS
$custom: #400b07;
$custom-light: #7a4f49;
$custom-dark: #000000;
JSON
{
  "hex": "#400b07",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 7
  },
  "hsl": {
    "h": 4.211,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24747,
    "c": 0.08215,
    "h": 29
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#400B07
secondary
#24797F
accent
#E9F731
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400B07

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

Preview Lab → · Contrast checker → · Palette generator →

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