#400705#400705

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

Color values

HEX#400705
RGBrgb(64, 7, 5)
HSLhsl(2, 86%, 14%)
HSVhsv(2, 92%, 25%)
CMYKcmyk(0%, 89.1%, 92.2%, 74.9%)
CIE-LABlab(10.94, 26.74, 15.03)
CIE-LCHlch(10.94, 30.67, 29.33°)
OKLaboklab(24.26% 0.0762 0.0412)
OKLCHoklch(24.26% 0.087 28.4)
XYZxyz(2.2180, 1.2533, 0.2687)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400705 #053E40
analogous
#400520 #400705 #402405
triadic
#400705 #054007 #070540
tetradic
#400705 #204005 #053E40 #240540
square
#400705 #204005 #053E40 #240540
split-complementary
#400705 #054024 #052040
monochromatic
#1C0302 #1C0302 #400705 #790D09 #B2130E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##400705#FFFFFF#000000##FFFFFF
##4007051.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)
#191504
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#480007
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400705;
/* rgb */ color: rgb(64, 7, 5);
/* oklch */ color: oklch(24.3% 0.087 28.4);
Tailwind
colors: {
  custom: {
    50: '#7a4d49',
    500: '#400705',
    950: '#000000',
  },
}
SCSS
$custom: #400705;
$custom-light: #7a4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#400705",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 5
  },
  "hsl": {
    "h": 2.034,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24259,
    "c": 0.08664,
    "h": 28.4
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#400705
secondary
#207D81
accent
#F5FC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400705

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

Preview Lab → · Contrast checker → · Palette generator →

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