#400403#400403

#400403 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.9% C 0.090 H 28.5°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#400403
RGBrgb(64, 4, 3)
HSLhsl(1, 91%, 13%)
HSVhsv(1, 95%, 25%)
CMYKcmyk(0%, 93.8%, 95.3%, 74.9%)
CIE-LABlab(10.44, 27.99, 15.13)
CIE-LCHlch(10.44, 31.82, 28.40°)
OKLaboklab(23.87% 0.0794 0.0431)
OKLCHoklch(23.87% 0.09 28.5)
XYZxyz(2.1745, 1.1838, 0.2001)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400403 #033F40
analogous
#400320 #400403 #402203
triadic
#400403 #034004 #040340
tetradic
#400403 #204003 #033F40 #220340
square
#400403 #204003 #033F40 #220340
split-complementary
#400403 #034022 #032040
monochromatic
#1D0201 #1D0201 #400403 #7A0806 #B50B08

Accessibility & contrast

On white

16.98
#400403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400403
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400403#FFFFFF#000000##FFFFFF
##4004031.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181402
Deuteranopia (green-blind)
#262101
Tritanopia (blue-blind)
#480004
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #400403;
/* rgb */ color: rgb(64, 4, 3);
/* oklch */ color: oklch(23.9% 0.090 28.5);
Tailwind
colors: {
  custom: {
    50: '#7b4b48',
    500: '#400403',
    950: '#000000',
  },
}
SCSS
$custom: #400403;
$custom-light: #7b4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#400403",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 3
  },
  "hsl": {
    "h": 0.984,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23872,
    "c": 0.09034,
    "h": 28.5
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#400403
secondary
#1D8082
accent
#FBFF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400403

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

Preview Lab → · Contrast checker → · Palette generator →

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