#400806#400806

#400806 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.4% C 0.085 H 28.1°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#400806
RGBrgb(64, 8, 6)
HSLhsl(2, 83%, 14%)
HSVhsv(2, 91%, 25%)
CMYKcmyk(0%, 87.5%, 90.6%, 74.9%)
CIE-LABlab(11.12, 26.36, 14.86)
CIE-LCHlch(11.12, 30.26, 29.41°)
OKLaboklab(24.39% 0.0753 0.0402)
OKLCHoklch(24.39% 0.085 28.1)
XYZxyz(2.2343, 1.2772, 0.3011)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400806 #063E40
analogous
#400621 #400806 #402506
triadic
#400806 #064008 #080640
tetradic
#400806 #214006 #063E40 #250640
square
#400806 #214006 #063E40 #250640
split-complementary
#400806 #064025 #062140
monochromatic
#1C0303 #1C0303 #400806 #780F0B #B01610

Accessibility & contrast

On white

16.73
#400806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400806
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400806#FFFFFF#000000##FFFFFF
##4008061.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191605
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#470008
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400806;
/* rgb */ color: rgb(64, 8, 6);
/* oklch */ color: oklch(24.4% 0.085 28.1);
Tailwind
colors: {
  custom: {
    50: '#7a4d49',
    500: '#400806',
    950: '#000000',
  },
}
SCSS
$custom: #400806;
$custom-light: #7a4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#400806",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 6
  },
  "hsl": {
    "h": 2.069,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24391,
    "c": 0.08539,
    "h": 28.1
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#400806
secondary
#227D80
accent
#F2F92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400806

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

Preview Lab → · Contrast checker → · Palette generator →

#400806 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva