#400604#400604

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

Color values

HEX#400604
RGBrgb(64, 6, 4)
HSLhsl(2, 88%, 13%)
HSVhsv(2, 94%, 25%)
CMYKcmyk(0%, 90.6%, 93.8%, 74.9%)
CIE-LABlab(10.77, 27.13, 15.19)
CIE-LCHlch(10.77, 31.10, 29.25°)
OKLaboklab(24.13% 0.0771 0.0423)
OKLCHoklch(24.13% 0.088 28.8)
XYZxyz(2.2017, 1.2294, 0.2362)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400604 #043E40
analogous
#400420 #400604 #402404
triadic
#400604 #044006 #060440
tetradic
#400604 #204004 #043E40 #240440
square
#400604 #204004 #043E40 #240440
split-complementary
#400604 #044024 #042040
monochromatic
#1D0302 #1D0302 #400604 #7A0B08 #B3110B

Accessibility & contrast

On white

16.86
#400604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400604
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400604#FFFFFF#000000##FFFFFF
##4006041.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191503
Deuteranopia (green-blind)
#272202
Tritanopia (blue-blind)
#480006
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400604;
/* rgb */ color: rgb(64, 6, 4);
/* oklch */ color: oklch(24.1% 0.088 28.8);
Tailwind
colors: {
  custom: {
    50: '#7a4c48',
    500: '#400604',
    950: '#000000',
  },
}
SCSS
$custom: #400604;
$custom-light: #7a4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#400604",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 4
  },
  "hsl": {
    "h": 2,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24126,
    "c": 0.08793,
    "h": 28.8
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#400604
secondary
#1F7E81
accent
#F7FE29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400604

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

Preview Lab → · Contrast checker → · Palette generator →

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