#400813#400813

#400813 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.084 H 15.3°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#400813
RGBrgb(64, 8, 19)
HSLhsl(348, 78%, 14%)
HSVhsv(348, 88%, 25%)
CMYKcmyk(0%, 87.5%, 70.3%, 74.9%)
CIE-LABlab(11.35, 27.12, 8.89)
CIE-LCHlch(11.35, 28.54, 18.15°)
OKLaboklab(24.64% 0.0813 0.0223)
OKLCHoklch(24.64% 0.084 15.3)
XYZxyz(2.3190, 1.3110, 0.7469)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400813 #084035
analogous
#40082F #400813 #401908
triadic
#400813 #134008 #081340
tetradic
#400813 #2F4008 #084035 #190840
square
#400813 #2F4008 #084035 #190840
split-complementary
#400813 #084019 #082F40
monochromatic
#1B0308 #1B0308 #400813 #760F23 #AD1633

Accessibility & contrast

On white

16.64
#400813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400813
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400813#FFFFFF#000000##FFFFFF
##4008131.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181713
Deuteranopia (green-blind)
#262211
Tritanopia (blue-blind)
#47000D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400813;
/* rgb */ color: rgb(64, 8, 19);
/* oklch */ color: oklch(24.6% 0.084 15.3);
Tailwind
colors: {
  custom: {
    50: '#7a4d50',
    500: '#400813',
    950: '#000000',
  },
}
SCSS
$custom: #400813;
$custom-light: #7a4d50;
$custom-dark: #000000;
JSON
{
  "hex": "#400813",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 19
  },
  "hsl": {
    "h": 348.214,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24643,
    "c": 0.08426,
    "h": 15.3
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#400813
secondary
#257E6D
accent
#F4CE34
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400813

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

Preview Lab → · Contrast checker → · Palette generator →

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