#400706#400706

#400706 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.3% C 0.086 H 27.5°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#400706
RGBrgb(64, 7, 6)
HSLhsl(1, 83%, 14%)
HSVhsv(1, 91%, 25%)
CMYKcmyk(0%, 89.1%, 90.6%, 74.9%)
CIE-LABlab(10.96, 26.79, 14.64)
CIE-LCHlch(10.96, 30.53, 28.66°)
OKLaboklab(24.28% 0.0767 0.0398)
OKLCHoklch(24.28% 0.086 27.5)
XYZxyz(2.2235, 1.2555, 0.2975)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400706 #063F40
analogous
#400622 #400706 #402406
triadic
#400706 #064007 #070640
tetradic
#400706 #224006 #063F40 #240640
square
#400706 #224006 #063F40 #240640
split-complementary
#400706 #064024 #062240
monochromatic
#1C0303 #1C0303 #400706 #780D0B #B01310

Accessibility & contrast

On white

16.79
#400706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#400706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400706
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400706#FFFFFF#000000##FFFFFF
##4007061.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191505
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#470007
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400706;
/* rgb */ color: rgb(64, 7, 6);
/* oklch */ color: oklch(24.3% 0.086 27.5);
Tailwind
colors: {
  custom: {
    50: '#7a4d49',
    500: '#400706',
    950: '#000000',
  },
}
SCSS
$custom: #400706;
$custom-light: #7a4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#400706",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 6
  },
  "hsl": {
    "h": 1.034,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24276,
    "c": 0.08643,
    "h": 27.5
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#400706
secondary
#227E80
accent
#F6F92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400706

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

Preview Lab → · Contrast checker → · Palette generator →

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