#400606#400606

#400606 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.2% C 0.088 H 26.8°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#400606
RGBrgb(64, 6, 6)
HSLhsl(0, 83%, 14%)
HSVhsv(0, 91%, 25%)
CMYKcmyk(0%, 90.6%, 90.6%, 74.9%)
CIE-LABlab(10.80, 27.23, 14.42)
CIE-LCHlch(10.80, 30.82, 27.91°)
OKLaboklab(24.16% 0.0781 0.0395)
OKLCHoklch(24.16% 0.088 26.8)
XYZxyz(2.2126, 1.2337, 0.2939)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400606 #064040
analogous
#400623 #400606 #402306
triadic
#400606 #064006 #060640
tetradic
#400606 #234006 #064040 #230640
square
#400606 #234006 #064040 #230640
split-complementary
#400606 #064023 #062340
monochromatic
#1C0303 #1C0303 #400606 #780B0B #B01010

Accessibility & contrast

On white

16.85
#400606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400606
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400606#FFFFFF#000000##FFFFFF
##4006061.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400606;
/* rgb */ color: rgb(64, 6, 6);
/* oklch */ color: oklch(24.2% 0.088 26.8);
Tailwind
colors: {
  custom: {
    50: '#7a4c49',
    500: '#400606',
    950: '#000000',
  },
}
SCSS
$custom: #400606;
$custom-light: #7a4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#400606",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 6
  },
  "hsl": {
    "h": 0,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2416,
    "c": 0.08751,
    "h": 26.8
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#400606
secondary
#228080
accent
#F9F92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400606

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

Preview Lab → · Contrast checker → · Palette generator →

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