#400B03#400B03

#400B03 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.7% C 0.083 H 32.9°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#400B03
RGBrgb(64, 11, 3)
HSLhsl(8, 91%, 13%)
HSVhsv(8, 95%, 25%)
CMYKcmyk(0%, 82.8%, 95.3%, 74.9%)
CIE-LABlab(11.53, 24.93, 16.65)
CIE-LCHlch(11.53, 29.98, 33.74°)
OKLaboklab(24.68% 0.0699 0.0452)
OKLCHoklch(24.68% 0.083 32.9)
XYZxyz(2.2507, 1.3363, 0.2255)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B03 #033840
analogous
#400319 #400B03 #402903
triadic
#400B03 #03400B #0B0340
tetradic
#400B03 #194003 #033840 #290340
square
#400B03 #194003 #033840 #290340
split-complementary
#400B03 #034029 #031940
monochromatic
#1D0501 #1D0501 #400B03 #7A1506 #B51F08

Accessibility & contrast

On white

16.57
#400B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B03
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B03#FFFFFF#000000##FFFFFF
##400B031.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1702
Deuteranopia (green-blind)
#282301
Tritanopia (blue-blind)
#480009
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b03;
/* rgb */ color: rgb(64, 11, 3);
/* oklch */ color: oklch(24.7% 0.083 32.9);
Tailwind
colors: {
  custom: {
    50: '#7a4f48',
    500: '#400b03',
    950: '#000000',
  },
}
SCSS
$custom: #400b03;
$custom-light: #7a4f48;
$custom-dark: #000000;
JSON
{
  "hex": "#400b03",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 3
  },
  "hsl": {
    "h": 7.869,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24684,
    "c": 0.08323,
    "h": 32.9
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#400B03
secondary
#1D7582
accent
#E3FF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400B03

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

Preview Lab → · Contrast checker → · Palette generator →

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