#400B0A#400B0A

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

Color values

HEX#400B0A
RGBrgb(64, 11, 10)
HSLhsl(1, 73%, 15%)
HSVhsv(1, 84%, 25%)
CMYKcmyk(0%, 82.8%, 84.4%, 74.9%)
CIE-LABlab(11.63, 25.29, 13.94)
CIE-LCHlch(11.63, 28.88, 28.86°)
OKLaboklab(24.8% 0.0731 0.0362)
OKLCHoklch(24.8% 0.082 26.3)
XYZxyz(2.2891, 1.3516, 0.4275)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B0A #0A3F40
analogous
#400A24 #400B0A #40260A
triadic
#400B0A #0A400B #0B0A40
tetradic
#400B0A #24400A #0A3F40 #260A40
square
#400B0A #24400A #0A3F40 #260A40
split-complementary
#400B0A #0A4026 #0A2440
monochromatic
#1A0504 #1A0504 #400B0A #751412 #AA1D1B

Accessibility & contrast

On white

16.53
#400B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B0A
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B0A#FFFFFF#000000##FFFFFF
##400B0A1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400b0a;
/* rgb */ color: rgb(64, 11, 10);
/* oklch */ color: oklch(24.8% 0.082 26.3);
Tailwind
colors: {
  custom: {
    50: '#7a4f4b',
    500: '#400b0a',
    950: '#000000',
  },
}
SCSS
$custom: #400b0a;
$custom-light: #7a4f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#400b0a",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 10
  },
  "hsl": {
    "h": 1.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24795,
    "c": 0.08158,
    "h": 26.3
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#400B0A
secondary
#297C7D
accent
#ECF038
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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