#400709#400709

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

Color values

HEX#400709
RGBrgb(64, 7, 9)
HSLhsl(358, 80%, 14%)
HSVhsv(358, 89%, 25%)
CMYKcmyk(0%, 89.1%, 85.9%, 74.9%)
CIE-LABlab(11.01, 26.94, 13.49)
CIE-LCHlch(11.01, 30.13, 26.59°)
OKLaboklab(24.33% 0.0781 0.0359)
OKLCHoklch(24.33% 0.086 24.7)
XYZxyz(2.2399, 1.2620, 0.3840)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400709 #07403E
analogous
#400726 #400709 #402207
triadic
#400709 #094007 #070940
tetradic
#400709 #264007 #07403E #220740
square
#400709 #264007 #07403E #220740
split-complementary
#400709 #074022 #072640
monochromatic
#1C0304 #1C0304 #400709 #770D11 #AE1319

Accessibility & contrast

On white

16.77
#400709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400709
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400709#FFFFFF#000000##FFFFFF
##4007091.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191608
Deuteranopia (green-blind)
#272207
Tritanopia (blue-blind)
#470008
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400709;
/* rgb */ color: rgb(64, 7, 9);
/* oklch */ color: oklch(24.3% 0.086 24.7);
Tailwind
colors: {
  custom: {
    50: '#7a4d4a',
    500: '#400709',
    950: '#000000',
  },
}
SCSS
$custom: #400709;
$custom-light: #7a4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400709",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 9
  },
  "hsl": {
    "h": 357.895,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24326,
    "c": 0.08594,
    "h": 24.7
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#400709
secondary
#247F7C
accent
#F7F031
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400709

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

Preview Lab → · Contrast checker → · Palette generator →

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