#400E14#400E14

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

Color values

HEX#400E14
RGBrgb(64, 14, 20)
HSLhsl(353, 64%, 15%)
HSVhsv(353, 78%, 25%)
CMYKcmyk(0%, 78.1%, 68.8%, 74.9%)
CIE-LABlab(12.32, 24.58, 9.56)
CIE-LCHlch(12.32, 26.38, 21.26°)
OKLaboklab(25.37% 0.0734 0.0236)
OKLCHoklch(25.37% 0.077 17.8)
XYZxyz(2.3979, 1.4549, 0.8162)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E14 #0E403A
analogous
#400E2D #400E14 #40210E
triadic
#400E14 #14400E #0E1440
tetradic
#400E14 #2D400E #0E403A #210E40
square
#400E14 #2D400E #0E403A #210E40
split-complementary
#400E14 #0E4021 #0E2D40
monochromatic
#190508 #190508 #400E14 #721924 #A42433

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##400E14#FFFFFF#000000##FFFFFF
##400E141.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)
#1B1914
Deuteranopia (green-blind)
#282413
Tritanopia (blue-blind)
#470411
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e14;
/* rgb */ color: rgb(64, 14, 20);
/* oklch */ color: oklch(25.4% 0.077 17.8);
Tailwind
colors: {
  custom: {
    50: '#795051',
    500: '#400e14',
    950: '#000000',
  },
}
SCSS
$custom: #400e14;
$custom-light: #795051;
$custom-dark: #000000;
JSON
{
  "hex": "#400e14",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 20
  },
  "hsl": {
    "h": 352.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25368,
    "c": 0.07705,
    "h": 17.8
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#400E14
secondary
#2F7B72
accent
#E7D341
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400E14

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

Preview Lab → · Contrast checker → · Palette generator →

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