#400905#400905

#400905 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.085 H 29.7°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#400905
RGBrgb(64, 9, 5)
HSLhsl(4, 86%, 14%)
HSVhsv(4, 92%, 25%)
CMYKcmyk(0%, 85.9%, 92.2%, 74.9%)
CIE-LABlab(11.25, 25.88, 15.45)
CIE-LCHlch(11.25, 30.14, 30.84°)
OKLaboklab(24.49% 0.0735 0.0419)
OKLCHoklch(24.49% 0.085 29.7)
XYZxyz(2.2397, 1.2967, 0.2759)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400905 #053C40
analogous
#40051E #400905 #402605
triadic
#400905 #054009 #090540
tetradic
#400905 #1E4005 #053C40 #260540
square
#400905 #1E4005 #053C40 #260540
split-complementary
#400905 #054026 #051E40
monochromatic
#1C0402 #1C0402 #400905 #791109 #B2190E

Accessibility & contrast

On white

16.68
#400905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400905
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400905#FFFFFF#000000##FFFFFF
##4009051.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1604
Deuteranopia (green-blind)
#282203
Tritanopia (blue-blind)
#470009
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400905;
/* rgb */ color: rgb(64, 9, 5);
/* oklch */ color: oklch(24.5% 0.085 29.7);
Tailwind
colors: {
  custom: {
    50: '#7a4e49',
    500: '#400905',
    950: '#000000',
  },
}
SCSS
$custom: #400905;
$custom-light: #7a4e49;
$custom-dark: #000000;
JSON
{
  "hex": "#400905",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 5
  },
  "hsl": {
    "h": 4.068,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24488,
    "c": 0.0846,
    "h": 29.7
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#400905
secondary
#207A81
accent
#EEFC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400905

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

Preview Lab → · Contrast checker → · Palette generator →

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