#40140E#40140E

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

Color values

HEX#40140E
RGBrgb(64, 20, 14)
HSLhsl(7, 64%, 15%)
HSVhsv(7, 78%, 25%)
CMYKcmyk(0%, 68.8%, 78.1%, 74.9%)
CIE-LABlab(13.37, 21.00, 14.46)
CIE-LCHlch(13.37, 25.50, 34.55°)
OKLaboklab(26.12% 0.0607 0.0354)
OKLCHoklch(26.12% 0.07 30.3)
XYZxyz(2.4440, 1.6223, 0.5998)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40140E #0E3A40
analogous
#400E21 #40140E #402D0E
triadic
#40140E #0E4014 #140E40
tetradic
#40140E #21400E #0E3A40 #2D0E40
square
#40140E #21400E #0E3A40 #2D0E40
split-complementary
#40140E #0E402D #0E2140
monochromatic
#190805 #190805 #40140E #722419 #A43324

Accessibility & contrast

On white

15.86
#40140E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40140E
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40140E#FFFFFF#000000##FFFFFF
##40140E1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C0D
Deuteranopia (green-blind)
#2B260D
Tritanopia (blue-blind)
#470A13
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40140e;
/* rgb */ color: rgb(64, 20, 14);
/* oklch */ color: oklch(26.1% 0.070 30.3);
Tailwind
colors: {
  custom: {
    50: '#79544d',
    500: '#40140e',
    950: '#000000',
  },
}
SCSS
$custom: #40140e;
$custom-light: #79544d;
$custom-dark: #000000;
JSON
{
  "hex": "#40140e",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 14
  },
  "hsl": {
    "h": 7.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26116,
    "c": 0.07023,
    "h": 30.3
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#40140E
secondary
#2F727B
accent
#D3E741
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40140E

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

Preview Lab → · Contrast checker → · Palette generator →

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