#400607#400607

#400607 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.2% C 0.087 H 25.9°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#400607
RGBrgb(64, 6, 7)
HSLhsl(359, 83%, 14%)
HSVhsv(359, 91%, 25%)
CMYKcmyk(0%, 90.6%, 89.1%, 74.9%)
CIE-LABlab(10.82, 27.28, 14.04)
CIE-LCHlch(10.82, 30.68, 27.23°)
OKLaboklab(24.18% 0.0786 0.0382)
OKLCHoklch(24.18% 0.087 25.9)
XYZxyz(2.2181, 1.2359, 0.3227)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400607 #06403F
analogous
#400624 #400607 #402206
triadic
#400607 #074006 #060740
tetradic
#400607 #244006 #06403F #220640
square
#400607 #244006 #06403F #220640
split-complementary
#400607 #064022 #062440
monochromatic
#1C0303 #1C0303 #400607 #780B0D #B01013

Accessibility & contrast

On white

16.84
#400607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400607
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400607#FFFFFF#000000##FFFFFF
##4006071.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181506
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#470007
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400607;
/* rgb */ color: rgb(64, 6, 7);
/* oklch */ color: oklch(24.2% 0.087 25.9);
Tailwind
colors: {
  custom: {
    50: '#7a4c49',
    500: '#400607',
    950: '#000000',
  },
}
SCSS
$custom: #400607;
$custom-light: #7a4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#400607",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 7
  },
  "hsl": {
    "h": 358.966,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24176,
    "c": 0.08733,
    "h": 25.9
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#400607
secondary
#22807E
accent
#F9F62F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400607

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

Preview Lab → · Contrast checker → · Palette generator →

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