#400E08#400E08

#400E08 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.1% C 0.079 H 30.3°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#400E08
RGBrgb(64, 14, 8)
HSLhsl(6, 78%, 14%)
HSVhsv(6, 88%, 25%)
CMYKcmyk(0%, 78.1%, 87.5%, 74.9%)
CIE-LABlab(12.10, 23.81, 15.40)
CIE-LCHlch(12.10, 28.36, 32.89°)
OKLaboklab(25.14% 0.068 0.0398)
OKLCHoklch(25.14% 0.079 30.3)
XYZxyz(2.3155, 1.4219, 0.3822)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E08 #083A40
analogous
#40081E #400E08 #402A08
triadic
#400E08 #08400E #0E0840
tetradic
#400E08 #1E4008 #083A40 #2A0840
square
#400E08 #1E4008 #083A40 #2A0840
split-complementary
#400E08 #08402A #081E40
monochromatic
#1B0603 #1B0603 #400E08 #761A0F #AD2616

Accessibility & contrast

On white

16.35
#400E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E08
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E08#FFFFFF#000000##FFFFFF
##400E081.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1907
Deuteranopia (green-blind)
#292406
Tritanopia (blue-blind)
#47010D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e08;
/* rgb */ color: rgb(64, 14, 8);
/* oklch */ color: oklch(25.1% 0.079 30.3);
Tailwind
colors: {
  custom: {
    50: '#7a504a',
    500: '#400e08',
    950: '#000000',
  },
}
SCSS
$custom: #400e08;
$custom-light: #7a504a;
$custom-dark: #000000;
JSON
{
  "hex": "#400e08",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 8
  },
  "hsl": {
    "h": 6.429,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25138,
    "c": 0.07874,
    "h": 30.3
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#400E08
secondary
#25757E
accent
#E0F434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400E08

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

Preview Lab → · Contrast checker → · Palette generator →

#400E08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva