#400810#400810

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

Color values

HEX#400810
RGBrgb(64, 8, 16)
HSLhsl(351, 78%, 14%)
HSVhsv(351, 88%, 25%)
CMYKcmyk(0%, 87.5%, 75%, 74.9%)
CIE-LABlab(11.29, 26.91, 10.58)
CIE-LCHlch(11.29, 28.91, 21.47°)
OKLaboklab(24.57% 0.0798 0.0269)
OKLCHoklch(24.57% 0.084 18.6)
XYZxyz(2.2950, 1.3014, 0.6205)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400810 #084038
analogous
#40082C #400810 #401C08
triadic
#400810 #104008 #081040
tetradic
#400810 #2C4008 #084038 #1C0840
square
#400810 #2C4008 #084038 #1C0840
split-complementary
#400810 #08401C #082C40
monochromatic
#1B0307 #1B0307 #400810 #760F1E #AD162B

Accessibility & contrast

On white

16.66
#400810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400810
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400810#FFFFFF#000000##FFFFFF
##4008101.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181710
Deuteranopia (green-blind)
#26220E
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400810;
/* rgb */ color: rgb(64, 8, 16);
/* oklch */ color: oklch(24.6% 0.084 18.6);
Tailwind
colors: {
  custom: {
    50: '#7a4d4e',
    500: '#400810',
    950: '#000000',
  },
}
SCSS
$custom: #400810;
$custom-light: #7a4d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#400810",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 16
  },
  "hsl": {
    "h": 351.429,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24572,
    "c": 0.08424,
    "h": 18.6
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#400810
secondary
#257E72
accent
#F4D934
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400810

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

Preview Lab → · Contrast checker → · Palette generator →

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