#400E0E#400E0E

#400E0E is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.2% C 0.078 H 24.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#400E0E
RGBrgb(64, 14, 14)
HSLhsl(0, 64%, 15%)
HSVhsv(0, 78%, 25%)
CMYKcmyk(0%, 78.1%, 78.1%, 74.9%)
CIE-LABlab(12.20, 24.15, 12.89)
CIE-LCHlch(12.20, 27.37, 28.10°)
OKLaboklab(25.24% 0.0705 0.0323)
OKLCHoklch(25.24% 0.078 24.6)
XYZxyz(2.3509, 1.4361, 0.5688)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E0E #0E4040
analogous
#400E27 #400E0E #40270E
triadic
#400E0E #0E400E #0E0E40
tetradic
#400E0E #27400E #0E4040 #270E40
square
#400E0E #27400E #0E4040 #270E40
split-complementary
#400E0E #0E4027 #0E2740
monochromatic
#190505 #190505 #400E0E #721919 #A42424

Accessibility & contrast

On white

16.31
#400E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E0E
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E0E#FFFFFF#000000##FFFFFF
##400E0E1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190E
Deuteranopia (green-blind)
#28240C
Tritanopia (blue-blind)
#47020F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e0e;
/* rgb */ color: rgb(64, 14, 14);
/* oklch */ color: oklch(25.2% 0.078 24.6);
Tailwind
colors: {
  custom: {
    50: '#79504d',
    500: '#400e0e',
    950: '#000000',
  },
}
SCSS
$custom: #400e0e;
$custom-light: #79504d;
$custom-dark: #000000;
JSON
{
  "hex": "#400e0e",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 14
  },
  "hsl": {
    "h": 0,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25237,
    "c": 0.07759,
    "h": 24.6
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#400E0E
secondary
#2F7B7B
accent
#E7E741
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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