#400F0A#400F0A

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

Color values

HEX#400F0A
RGBrgb(64, 15, 10)
HSLhsl(6, 73%, 15%)
HSVhsv(6, 84%, 25%)
CMYKcmyk(0%, 76.6%, 84.4%, 74.9%)
CIE-LABlab(12.31, 23.43, 14.87)
CIE-LCHlch(12.31, 27.75, 32.41°)
OKLaboklab(25.3% 0.0673 0.0378)
OKLCHoklch(25.3% 0.077 29.3)
XYZxyz(2.3402, 1.4539, 0.4445)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F0A #0A3B40
analogous
#400A20 #400F0A #402A0A
triadic
#400F0A #0A400F #0F0A40
tetradic
#400F0A #20400A #0A3B40 #2A0A40
square
#400F0A #20400A #0A3B40 #2A0A40
split-complementary
#400F0A #0A402A #0A2040
monochromatic
#1A0604 #1A0604 #400F0A #751B12 #AA281B

Accessibility & contrast

On white

16.27
#400F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F0A
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F0A#FFFFFF#000000##FFFFFF
##400F0A1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400f0a;
/* rgb */ color: rgb(64, 15, 10);
/* oklch */ color: oklch(25.3% 0.077 29.3);
Tailwind
colors: {
  custom: {
    50: '#7a514b',
    500: '#400f0a',
    950: '#000000',
  },
}
SCSS
$custom: #400f0a;
$custom-light: #7a514b;
$custom-dark: #000000;
JSON
{
  "hex": "#400f0a",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 10
  },
  "hsl": {
    "h": 5.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25304,
    "c": 0.07717,
    "h": 29.3
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#400F0A
secondary
#29757D
accent
#DFF038
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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