#400C09#400C09

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

Color values

HEX#400C09
RGBrgb(64, 12, 9)
HSLhsl(3, 75%, 14%)
HSVhsv(3, 86%, 25%)
CMYKcmyk(0%, 81.2%, 85.9%, 74.9%)
CIE-LABlab(11.78, 24.80, 14.55)
CIE-LCHlch(11.78, 28.75, 30.40°)
OKLaboklab(24.9% 0.0713 0.0378)
OKLCHoklch(24.9% 0.081 27.9)
XYZxyz(2.2954, 1.3730, 0.4025)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C09 #093D40
analogous
#400922 #400C09 #402809
triadic
#400C09 #09400C #0C0940
tetradic
#400C09 #224009 #093D40 #280940
square
#400C09 #224009 #093D40 #280940
split-complementary
#400C09 #094028 #092240
monochromatic
#1B0504 #1B0504 #400C09 #761611 #AB2018

Accessibility & contrast

On white

16.48
#400C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400C09
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C09#FFFFFF#000000##FFFFFF
##400C091.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1808
Deuteranopia (green-blind)
#282307
Tritanopia (blue-blind)
#47000C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400c09;
/* rgb */ color: rgb(64, 12, 9);
/* oklch */ color: oklch(24.9% 0.081 27.9);
Tailwind
colors: {
  custom: {
    50: '#7a4f4a',
    500: '#400c09',
    950: '#000000',
  },
}
SCSS
$custom: #400c09;
$custom-light: #7a4f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400c09",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 9
  },
  "hsl": {
    "h": 3.273,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24899,
    "c": 0.0807,
    "h": 27.9
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#400C09
secondary
#27797E
accent
#E8F236
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400C09

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

Preview Lab → · Contrast checker → · Palette generator →

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