#400511#400511

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

Color values

HEX#400511
RGBrgb(64, 5, 17)
HSLhsl(348, 86%, 14%)
HSVhsv(348, 92%, 25%)
CMYKcmyk(0%, 92.2%, 73.4%, 74.9%)
CIE-LABlab(10.84, 28.28, 9.40)
CIE-LCHlch(10.84, 29.80, 18.39°)
OKLaboklab(24.25% 0.0845 0.024)
OKLCHoklch(24.25% 0.088 15.9)
XYZxyz(2.2701, 1.2394, 0.6499)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400511 #054034
analogous
#40052E #400511 #401605
triadic
#400511 #114005 #051140
tetradic
#400511 #2E4005 #054034 #160540
square
#400511 #2E4005 #054034 #160540
split-complementary
#400511 #054016 #052E40
monochromatic
#1C0208 #1C0208 #400511 #790920 #B20E2F

Accessibility & contrast

On white

16.83
#400511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400511
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400511#FFFFFF#000000##FFFFFF
##4005111.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161511
Deuteranopia (green-blind)
#25220F
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400511;
/* rgb */ color: rgb(64, 5, 17);
/* oklch */ color: oklch(24.3% 0.088 15.9);
Tailwind
colors: {
  custom: {
    50: '#7a4c4f',
    500: '#400511',
    950: '#000000',
  },
}
SCSS
$custom: #400511;
$custom-light: #7a4c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#400511",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 17
  },
  "hsl": {
    "h": 347.797,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24253,
    "c": 0.08786,
    "h": 15.9
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#400511
secondary
#20816D
accent
#FCD22C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400511

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

Preview Lab → · Contrast checker → · Palette generator →

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