#400906#400906

#400906 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.084 H 28.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#400906
RGBrgb(64, 9, 6)
HSLhsl(3, 83%, 14%)
HSVhsv(3, 91%, 25%)
CMYKcmyk(0%, 85.9%, 90.6%, 74.9%)
CIE-LABlab(11.27, 25.93, 15.07)
CIE-LCHlch(11.27, 29.99, 30.16°)
OKLaboklab(24.5% 0.074 0.0405)
OKLCHoklch(24.5% 0.084 28.7)
XYZxyz(2.2452, 1.2989, 0.3047)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400906 #063D40
analogous
#400620 #400906 #402606
triadic
#400906 #064009 #090640
tetradic
#400906 #204006 #063D40 #260640
square
#400906 #204006 #063D40 #260640
split-complementary
#400906 #064026 #062040
monochromatic
#1C0403 #1C0403 #400906 #78110B #B01910

Accessibility & contrast

On white

16.67
#400906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400906
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400906#FFFFFF#000000##FFFFFF
##4009061.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1605
Deuteranopia (green-blind)
#282204
Tritanopia (blue-blind)
#470009
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400906;
/* rgb */ color: rgb(64, 9, 6);
/* oklch */ color: oklch(24.5% 0.084 28.7);
Tailwind
colors: {
  custom: {
    50: '#7a4e49',
    500: '#400906',
    950: '#000000',
  },
}
SCSS
$custom: #400906;
$custom-light: #7a4e49;
$custom-dark: #000000;
JSON
{
  "hex": "#400906",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 6
  },
  "hsl": {
    "h": 3.103,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24504,
    "c": 0.08437,
    "h": 28.7
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#400906
secondary
#227B80
accent
#EFF92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400906

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

Preview Lab → · Contrast checker → · Palette generator →

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