#400D11#400D11

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

Color values

HEX#400D11
RGBrgb(64, 13, 17)
HSLhsl(355, 66%, 15%)
HSVhsv(355, 80%, 25%)
CMYKcmyk(0%, 79.7%, 73.4%, 74.9%)
CIE-LABlab(12.08, 24.82, 11.11)
CIE-LCHlch(12.08, 27.19, 24.10°)
OKLaboklab(25.17% 0.0734 0.0276)
OKLCHoklch(25.17% 0.078 20.6)
XYZxyz(2.3597, 1.4186, 0.6798)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D11 #0D403C
analogous
#400D2B #400D11 #40220D
triadic
#400D11 #11400D #0D1140
tetradic
#400D11 #2B400D #0D403C #220D40
square
#400D11 #2B400D #0D403C #220D40
split-complementary
#400D11 #0D4022 #0D2B40
monochromatic
#190507 #190507 #400D11 #73171F #A6222C

Accessibility & contrast

On white

16.36
#400D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400D11
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D11#FFFFFF#000000##FFFFFF
##400D111.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1911
Deuteranopia (green-blind)
#282410
Tritanopia (blue-blind)
#47020F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400d11;
/* rgb */ color: rgb(64, 13, 17);
/* oklch */ color: oklch(25.2% 0.078 20.6);
Tailwind
colors: {
  custom: {
    50: '#79504f',
    500: '#400d11',
    950: '#000000',
  },
}
SCSS
$custom: #400d11;
$custom-light: #79504f;
$custom-dark: #000000;
JSON
{
  "hex": "#400d11",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 17
  },
  "hsl": {
    "h": 355.294,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2517,
    "c": 0.07845,
    "h": 20.6
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#400D11
secondary
#2D7C75
accent
#E9DC3F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400D11

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

Preview Lab → · Contrast checker → · Palette generator →

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