#400413#400413

#400413 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.2% C 0.089 H 13.2°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#400413
RGBrgb(64, 4, 19)
HSLhsl(345, 88%, 13%)
HSVhsv(345, 94%, 25%)
CMYKcmyk(0%, 93.8%, 70.3%, 74.9%)
CIE-LABlab(10.73, 28.87, 8.03)
CIE-LCHlch(10.73, 29.97, 15.55°)
OKLaboklab(24.19% 0.0869 0.0204)
OKLCHoklch(24.19% 0.089 13.2)
XYZxyz(2.2756, 1.2242, 0.7324)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400413 #044031
analogous
#400431 #400413 #401304
triadic
#400413 #134004 #041340
tetradic
#400413 #314004 #044031 #130440
square
#400413 #314004 #044031 #130440
split-complementary
#400413 #044013 #043140
monochromatic
#1D0209 #1D0209 #400413 #7A0824 #B30B35

Accessibility & contrast

On white

16.87
#400413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#400413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400413
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400413#FFFFFF#000000##FFFFFF
##4004131.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151513
Deuteranopia (green-blind)
#252111
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400413;
/* rgb */ color: rgb(64, 4, 19);
/* oklch */ color: oklch(24.2% 0.089 13.2);
Tailwind
colors: {
  custom: {
    50: '#7a4c50',
    500: '#400413',
    950: '#000000',
  },
}
SCSS
$custom: #400413;
$custom-light: #7a4c50;
$custom-dark: #000000;
JSON
{
  "hex": "#400413",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 19
  },
  "hsl": {
    "h": 345,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24187,
    "c": 0.08927,
    "h": 13.2
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#400413
secondary
#1F8169
accent
#FEC929
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400413

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

Preview Lab → · Contrast checker → · Palette generator →

#400413 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva