#400B02#400B02

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

Color values

HEX#400B02
RGBrgb(64, 11, 2)
HSLhsl(9, 94%, 13%)
HSVhsv(9, 97%, 25%)
CMYKcmyk(0%, 82.8%, 96.9%, 74.9%)
CIE-LABlab(11.51, 24.88, 17.03)
CIE-LCHlch(11.51, 30.15, 34.40°)
OKLaboklab(24.67% 0.0693 0.0467)
OKLCHoklch(24.67% 0.084 33.9)
XYZxyz(2.2453, 1.3341, 0.1967)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B02 #023740
analogous
#400218 #400B02 #402A02
triadic
#400B02 #02400B #0B0240
tetradic
#400B02 #184002 #023740 #2A0240
square
#400B02 #184002 #023740 #2A0240
split-complementary
#400B02 #02402A #021840
monochromatic
#1E0501 #1E0501 #400B02 #7B1504 #B71F06

Accessibility & contrast

On white

16.58
#400B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B02
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B02#FFFFFF#000000##FFFFFF
##400B021.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1701
Deuteranopia (green-blind)
#282300
Tritanopia (blue-blind)
#480009
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400b02;
/* rgb */ color: rgb(64, 11, 2);
/* oklch */ color: oklch(24.7% 0.084 33.9);
Tailwind
colors: {
  custom: {
    50: '#7a4e47',
    500: '#400b02',
    950: '#000000',
  },
}
SCSS
$custom: #400b02;
$custom-light: #7a4e47;
$custom-dark: #000000;
JSON
{
  "hex": "#400b02",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 2
  },
  "hsl": {
    "h": 8.71,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24668,
    "c": 0.08357,
    "h": 33.9
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#400B02
secondary
#1B7483
accent
#E0FF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400B02

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

Preview Lab → · Contrast checker → · Palette generator →

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