#400309#400309

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

Color values

HEX#400309
RGBrgb(64, 3, 9)
HSLhsl(354, 91%, 13%)
HSVhsv(354, 95%, 25%)
CMYKcmyk(0%, 95.3%, 85.9%, 74.9%)
CIE-LABlab(10.37, 28.74, 12.60)
CIE-LCHlch(10.37, 31.38, 23.67°)
OKLaboklab(23.86% 0.0838 0.0344)
OKLCHoklch(23.86% 0.091 22.3)
XYZxyz(2.1965, 1.1752, 0.3696)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400309 #03403A
analogous
#400327 #400309 #401B03
triadic
#400309 #094003 #030940
tetradic
#400309 #274003 #03403A #1B0340
square
#400309 #274003 #03403A #1B0340
split-complementary
#400309 #03401B #032740
monochromatic
#1D0104 #1D0104 #400309 #7A0611 #B50819

Accessibility & contrast

On white

17.00
#400309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#400309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400309
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400309#FFFFFF#000000##FFFFFF
##4003091.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161409
Deuteranopia (green-blind)
#262107
Tritanopia (blue-blind)
#470006
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #400309;
/* rgb */ color: rgb(64, 3, 9);
/* oklch */ color: oklch(23.9% 0.091 22.3);
Tailwind
colors: {
  custom: {
    50: '#7a4b4a',
    500: '#400309',
    950: '#000000',
  },
}
SCSS
$custom: #400309;
$custom-light: #7a4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400309",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 9
  },
  "hsl": {
    "h": 354.098,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23856,
    "c": 0.09058,
    "h": 22.3
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#400309
secondary
#1D8278
accent
#FFEA29
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400309

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

Preview Lab → · Contrast checker → · Palette generator →

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