#400F09#400F09

#400F09 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.3% C 0.077 H 30.2°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#400F09
RGBrgb(64, 15, 9)
HSLhsl(7, 75%, 14%)
HSVhsv(7, 86%, 25%)
CMYKcmyk(0%, 76.6%, 85.9%, 74.9%)
CIE-LABlab(12.30, 23.37, 15.26)
CIE-LCHlch(12.30, 27.91, 33.14°)
OKLaboklab(25.29% 0.0669 0.039)
OKLCHoklch(25.29% 0.077 30.2)
XYZxyz(2.3347, 1.4517, 0.4157)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F09 #093A40
analogous
#40091F #400F09 #402B09
triadic
#400F09 #09400F #0F0940
tetradic
#400F09 #1F4009 #093A40 #2B0940
square
#400F09 #1F4009 #093A40 #2B0940
split-complementary
#400F09 #09402B #091F40
monochromatic
#1B0604 #1B0604 #400F09 #761C11 #AB2818

Accessibility & contrast

On white

16.28
#400F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F09
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F09#FFFFFF#000000##FFFFFF
##400F091.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1908
Deuteranopia (green-blind)
#292407
Tritanopia (blue-blind)
#47030E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400f09;
/* rgb */ color: rgb(64, 15, 9);
/* oklch */ color: oklch(25.3% 0.077 30.2);
Tailwind
colors: {
  custom: {
    50: '#7a514a',
    500: '#400f09',
    950: '#000000',
  },
}
SCSS
$custom: #400f09;
$custom-light: #7a514a;
$custom-dark: #000000;
JSON
{
  "hex": "#400f09",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 9
  },
  "hsl": {
    "h": 6.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25289,
    "c": 0.07738,
    "h": 30.2
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#400F09
secondary
#27747E
accent
#DDF236
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400F09

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

Preview Lab → · Contrast checker → · Palette generator →

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