#40140A#40140A

#40140A is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.1% C 0.071 H 34.3°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#40140A
RGBrgb(64, 20, 10)
HSLhsl(11, 73%, 15%)
HSVhsv(11, 84%, 25%)
CMYKcmyk(0%, 68.8%, 84.4%, 74.9%)
CIE-LABlab(13.31, 20.76, 16.21)
CIE-LCHlch(13.31, 26.34, 37.97°)
OKLaboklab(26.05% 0.059 0.0402)
OKLCHoklch(26.05% 0.071 34.3)
XYZxyz(2.4195, 1.6125, 0.4709)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40140A #0A3640
analogous
#400A1B #40140A #402F0A
triadic
#40140A #0A4014 #140A40
tetradic
#40140A #1B400A #0A3640 #2F0A40
square
#40140A #1B400A #0A3640 #2F0A40
split-complementary
#40140A #0A402F #0A1B40
monochromatic
#1A0804 #1A0804 #40140A #752512 #AA351B

Accessibility & contrast

On white

15.88
#40140A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#40140A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40140A
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40140A#FFFFFF#000000##FFFFFF
##40140A1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C09
Deuteranopia (green-blind)
#2B2609
Tritanopia (blue-blind)
#470A12
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40140a;
/* rgb */ color: rgb(64, 20, 10);
/* oklch */ color: oklch(26.1% 0.071 34.3);
Tailwind
colors: {
  custom: {
    50: '#79534b',
    500: '#40140a',
    950: '#000000',
  },
}
SCSS
$custom: #40140a;
$custom-light: #79534b;
$custom-dark: #000000;
JSON
{
  "hex": "#40140a",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 10
  },
  "hsl": {
    "h": 11.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26052,
    "c": 0.07136,
    "h": 34.3
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#40140A
secondary
#296E7D
accent
#CEF038
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40140A

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

Preview Lab → · Contrast checker → · Palette generator →

#40140A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva