#400D03#400D03

#400D03 is a very dark, moderate red. Relative luminance 0.014; OKLCH L 24.9% C 0.081 H 34.4°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#400D03
RGBrgb(64, 13, 3)
HSLhsl(10, 91%, 13%)
HSVhsv(10, 95%, 25%)
CMYKcmyk(0%, 79.7%, 95.3%, 74.9%)
CIE-LABlab(11.86, 24.03, 17.10)
CIE-LCHlch(11.86, 29.49, 35.44°)
OKLaboklab(24.93% 0.0671 0.0459)
OKLCHoklch(24.93% 0.081 34.4)
XYZxyz(2.2750, 1.3848, 0.2336)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D03 #033640
analogous
#400317 #400D03 #402B03
triadic
#400D03 #03400D #0D0340
tetradic
#400D03 #174003 #033640 #2B0340
square
#400D03 #174003 #033640 #2B0340
split-complementary
#400D03 #03402B #031740
monochromatic
#1D0601 #1D0601 #400D03 #7A1906 #B52508

Accessibility & contrast

On white

16.45
#400D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400D03
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D03#FFFFFF#000000##FFFFFF
##400D031.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1802
Deuteranopia (green-blind)
#292301
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400d03;
/* rgb */ color: rgb(64, 13, 3);
/* oklch */ color: oklch(24.9% 0.081 34.4);
Tailwind
colors: {
  custom: {
    50: '#7a4f48',
    500: '#400d03',
    950: '#000000',
  },
}
SCSS
$custom: #400d03;
$custom-light: #7a4f48;
$custom-dark: #000000;
JSON
{
  "hex": "#400d03",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 3
  },
  "hsl": {
    "h": 9.836,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2493,
    "c": 0.08126,
    "h": 34.4
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#400D03
secondary
#1D7182
accent
#DCFF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400D03

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

Preview Lab → · Contrast checker → · Palette generator →

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