#400E04#400E04

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

Color values

HEX#400E04
RGBrgb(64, 14, 4)
HSLhsl(10, 88%, 13%)
HSVhsv(10, 94%, 25%)
CMYKcmyk(0%, 78.1%, 93.8%, 74.9%)
CIE-LABlab(12.05, 23.60, 16.95)
CIE-LCHlch(12.05, 29.06, 35.69°)
OKLaboklab(25.08% 0.0661 0.0449)
OKLCHoklch(25.08% 0.08 34.2)
XYZxyz(2.2936, 1.4132, 0.2668)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E04 #043640
analogous
#400418 #400E04 #402C04
triadic
#400E04 #04400E #0E0440
tetradic
#400E04 #184004 #043640 #2C0440
square
#400E04 #184004 #043640 #2C0440
split-complementary
#400E04 #04402C #041840
monochromatic
#1D0602 #1D0602 #400E04 #7A1B08 #B3270B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##400E04#FFFFFF#000000##FFFFFF
##400E041.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)
#1D1903
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#47010C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e04;
/* rgb */ color: rgb(64, 14, 4);
/* oklch */ color: oklch(25.1% 0.080 34.2);
Tailwind
colors: {
  custom: {
    50: '#7a5048',
    500: '#400e04',
    950: '#000000',
  },
}
SCSS
$custom: #400e04;
$custom-light: #7a5048;
$custom-dark: #000000;
JSON
{
  "hex": "#400e04",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 4
  },
  "hsl": {
    "h": 10,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25076,
    "c": 0.07989,
    "h": 34.2
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#400E04
secondary
#1F7181
accent
#DBFE29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400E04

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

Preview Lab → · Contrast checker → · Palette generator →

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