#400513#400513

#400513 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.3% C 0.088 H 13.7°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#400513
RGBrgb(64, 5, 19)
HSLhsl(346, 86%, 14%)
HSVhsv(346, 92%, 25%)
CMYKcmyk(0%, 92.2%, 70.3%, 74.9%)
CIE-LABlab(10.89, 28.42, 8.25)
CIE-LCHlch(10.89, 29.60, 16.19°)
OKLaboklab(24.3% 0.0855 0.0209)
OKLCHoklch(24.3% 0.088 13.7)
XYZxyz(2.2864, 1.2459, 0.7361)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400513 #054032
analogous
#400530 #400513 #401405
triadic
#400513 #134005 #051340
tetradic
#400513 #304005 #054032 #140540
square
#400513 #304005 #054032 #140540
split-complementary
#400513 #054014 #053040
monochromatic
#1C0208 #1C0208 #400513 #790924 #B20E35

Accessibility & contrast

On white

16.81
#400513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#400513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400513
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400513#FFFFFF#000000##FFFFFF
##4005131.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161513
Deuteranopia (green-blind)
#252211
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400513;
/* rgb */ color: rgb(64, 5, 19);
/* oklch */ color: oklch(24.3% 0.088 13.7);
Tailwind
colors: {
  custom: {
    50: '#7a4c50',
    500: '#400513',
    950: '#000000',
  },
}
SCSS
$custom: #400513;
$custom-light: #7a4c50;
$custom-dark: #000000;
JSON
{
  "hex": "#400513",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 19
  },
  "hsl": {
    "h": 345.763,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24303,
    "c": 0.08797,
    "h": 13.7
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#400513
secondary
#20816A
accent
#FCCA2C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400513

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

Preview Lab → · Contrast checker → · Palette generator →

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