#400605#400605

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

Color values

HEX#400605
RGBrgb(64, 6, 5)
HSLhsl(1, 86%, 14%)
HSVhsv(1, 92%, 25%)
CMYKcmyk(0%, 90.6%, 92.2%, 74.9%)
CIE-LABlab(10.79, 27.18, 14.81)
CIE-LCHlch(10.79, 30.95, 28.58°)
OKLaboklab(24.14% 0.0776 0.0409)
OKLCHoklch(24.14% 0.088 27.8)
XYZxyz(2.2071, 1.2316, 0.2651)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400605 #053F40
analogous
#400521 #400605 #402305
triadic
#400605 #054006 #060540
tetradic
#400605 #214005 #053F40 #230540
square
#400605 #214005 #053F40 #230540
split-complementary
#400605 #054023 #052140
monochromatic
#1C0302 #1C0302 #400605 #790B09 #B2110E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##400605#FFFFFF#000000##FFFFFF
##4006051.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)
#181504
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#480006
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400605;
/* rgb */ color: rgb(64, 6, 5);
/* oklch */ color: oklch(24.1% 0.088 27.8);
Tailwind
colors: {
  custom: {
    50: '#7a4c49',
    500: '#400605',
    950: '#000000',
  },
}
SCSS
$custom: #400605;
$custom-light: #7a4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#400605",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 5
  },
  "hsl": {
    "h": 1.017,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24143,
    "c": 0.08771,
    "h": 27.8
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#400605
secondary
#207F81
accent
#F8FC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400605

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

Preview Lab → · Contrast checker → · Palette generator →

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