#400E05#400E05

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

Color values

HEX#400E05
RGBrgb(64, 14, 5)
HSLhsl(9, 86%, 14%)
HSVhsv(9, 92%, 25%)
CMYKcmyk(0%, 78.1%, 92.2%, 74.9%)
CIE-LABlab(12.06, 23.66, 16.56)
CIE-LCHlch(12.06, 28.88, 35.00°)
OKLaboklab(25.09% 0.0666 0.0436)
OKLCHoklch(25.09% 0.08 33.2)
XYZxyz(2.2991, 1.4154, 0.2957)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E05 #053740
analogous
#400519 #400E05 #402B05
triadic
#400E05 #05400E #0E0540
tetradic
#400E05 #194005 #053740 #2B0540
square
#400E05 #194005 #053740 #2B0540
split-complementary
#400E05 #05402B #051940
monochromatic
#1C0602 #1C0602 #400E05 #791A09 #B2270E

Accessibility & contrast

On white

16.37
#400E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E05
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E05#FFFFFF#000000##FFFFFF
##400E051.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1904
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#47010C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e05;
/* rgb */ color: rgb(64, 14, 5);
/* oklch */ color: oklch(25.1% 0.080 33.2);
Tailwind
colors: {
  custom: {
    50: '#7a5049',
    500: '#400e05',
    950: '#000000',
  },
}
SCSS
$custom: #400e05;
$custom-light: #7a5049;
$custom-dark: #000000;
JSON
{
  "hex": "#400e05",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 5
  },
  "hsl": {
    "h": 9.153,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25092,
    "c": 0.07957,
    "h": 33.2
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#400E05
secondary
#207281
accent
#DCFC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400E05

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

Preview Lab → · Contrast checker → · Palette generator →

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