#400E0D#400E0D

#400E0D is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.2% C 0.078 H 25.6°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#400E0D
RGBrgb(64, 14, 13)
HSLhsl(1, 66%, 15%)
HSVhsv(1, 80%, 25%)
CMYKcmyk(0%, 78.1%, 79.7%, 74.9%)
CIE-LABlab(12.18, 24.08, 13.36)
CIE-LCHlch(12.18, 27.54, 29.02°)
OKLaboklab(25.22% 0.0701 0.0336)
OKLCHoklch(25.22% 0.078 25.6)
XYZxyz(2.3443, 1.4335, 0.5339)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E0D #0D3F40
analogous
#400D26 #400E0D #40270D
triadic
#400E0D #0D400E #0E0D40
tetradic
#400E0D #26400D #0D3F40 #270D40
square
#400E0D #26400D #0D3F40 #270D40
split-complementary
#400E0D #0D4027 #0D2640
monochromatic
#190605 #190605 #400E0D #731917 #A62422

Accessibility & contrast

On white

16.32
#400E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E0D
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E0D#FFFFFF#000000##FFFFFF
##400E0D1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190C
Deuteranopia (green-blind)
#29240B
Tritanopia (blue-blind)
#47020E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e0d;
/* rgb */ color: rgb(64, 14, 13);
/* oklch */ color: oklch(25.2% 0.078 25.6);
Tailwind
colors: {
  custom: {
    50: '#7a504c',
    500: '#400e0d',
    950: '#000000',
  },
}
SCSS
$custom: #400e0d;
$custom-light: #7a504c;
$custom-dark: #000000;
JSON
{
  "hex": "#400e0d",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 13
  },
  "hsl": {
    "h": 1.176,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25219,
    "c": 0.07774,
    "h": 25.6
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#400E0D
secondary
#2D7A7C
accent
#E6E93F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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