#400E09#400E09

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

Color values

HEX#400E09
RGBrgb(64, 14, 9)
HSLhsl(5, 75%, 14%)
HSVhsv(5, 86%, 25%)
CMYKcmyk(0%, 78.1%, 85.9%, 74.9%)
CIE-LABlab(12.12, 23.87, 15.01)
CIE-LCHlch(12.12, 28.19, 32.17°)
OKLaboklab(25.15% 0.0684 0.0386)
OKLCHoklch(25.15% 0.079 29.4)
XYZxyz(2.3210, 1.4241, 0.4111)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E09 #093B40
analogous
#400920 #400E09 #402A09
triadic
#400E09 #09400E #0E0940
tetradic
#400E09 #204009 #093B40 #2A0940
square
#400E09 #204009 #093B40 #2A0940
split-complementary
#400E09 #09402A #092040
monochromatic
#1B0604 #1B0604 #400E09 #761A11 #AB2518

Accessibility & contrast

On white

16.34
#400E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E09
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E09#FFFFFF#000000##FFFFFF
##400E091.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1908
Deuteranopia (green-blind)
#292407
Tritanopia (blue-blind)
#47020D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e09;
/* rgb */ color: rgb(64, 14, 9);
/* oklch */ color: oklch(25.2% 0.079 29.4);
Tailwind
colors: {
  custom: {
    50: '#7a504a',
    500: '#400e09',
    950: '#000000',
  },
}
SCSS
$custom: #400e09;
$custom-light: #7a504a;
$custom-dark: #000000;
JSON
{
  "hex": "#400e09",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 9
  },
  "hsl": {
    "h": 5.455,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25153,
    "c": 0.07851,
    "h": 29.4
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#400E09
secondary
#27767E
accent
#E1F236
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400E09

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

Preview Lab → · Contrast checker → · Palette generator →

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