#400708#400708

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

Color values

HEX#400708
RGBrgb(64, 7, 8)
HSLhsl(359, 80%, 14%)
HSVhsv(359, 89%, 25%)
CMYKcmyk(0%, 89.1%, 87.5%, 74.9%)
CIE-LABlab(10.99, 26.89, 13.87)
CIE-LCHlch(10.99, 30.26, 27.28°)
OKLaboklab(24.31% 0.0776 0.0372)
OKLCHoklch(24.31% 0.086 25.6)
XYZxyz(2.2344, 1.2598, 0.3552)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400708 #07403F
analogous
#400725 #400708 #402307
triadic
#400708 #084007 #070840
tetradic
#400708 #254007 #07403F #230740
square
#400708 #254007 #07403F #230740
split-complementary
#400708 #074023 #072540
monochromatic
#1C0303 #1C0303 #400708 #770D0F #AE1316

Accessibility & contrast

On white

16.78
#400708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400708
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400708#FFFFFF#000000##FFFFFF
##4007081.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400708;
/* rgb */ color: rgb(64, 7, 8);
/* oklch */ color: oklch(24.3% 0.086 25.6);
Tailwind
colors: {
  custom: {
    50: '#7a4d4a',
    500: '#400708',
    950: '#000000',
  },
}
SCSS
$custom: #400708;
$custom-light: #7a4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400708",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 8
  },
  "hsl": {
    "h": 358.947,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24309,
    "c": 0.08608,
    "h": 25.6
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#400708
secondary
#247F7E
accent
#F7F331
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400708

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

Preview Lab → · Contrast checker → · Palette generator →

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