#400608#400608

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

Color values

HEX#400608
RGBrgb(64, 6, 8)
HSLhsl(358, 83%, 14%)
HSVhsv(358, 91%, 25%)
CMYKcmyk(0%, 90.6%, 87.5%, 74.9%)
CIE-LABlab(10.84, 27.33, 13.65)
CIE-LCHlch(10.84, 30.55, 26.54°)
OKLaboklab(24.19% 0.079 0.0368)
OKLCHoklch(24.19% 0.087 25)
XYZxyz(2.2236, 1.2381, 0.3516)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400608 #06403E
analogous
#400625 #400608 #402106
triadic
#400608 #084006 #060840
tetradic
#400608 #254006 #06403E #210640
square
#400608 #254006 #06403E #210640
split-complementary
#400608 #064021 #062540
monochromatic
#1C0303 #1C0303 #400608 #780B0F #B01016

Accessibility & contrast

On white

16.83
#400608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400608
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400608#FFFFFF#000000##FFFFFF
##4006081.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400608;
/* rgb */ color: rgb(64, 6, 8);
/* oklch */ color: oklch(24.2% 0.087 25.0);
Tailwind
colors: {
  custom: {
    50: '#7a4c4a',
    500: '#400608',
    950: '#000000',
  },
}
SCSS
$custom: #400608;
$custom-light: #7a4c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400608",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 8
  },
  "hsl": {
    "h": 357.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24193,
    "c": 0.08719,
    "h": 25
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#400608
secondary
#22807D
accent
#F9F22F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400608

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

Preview Lab → · Contrast checker → · Palette generator →

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