#400D10#400D10

#400D10 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.1% C 0.079 H 21.7°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#400D10
RGBrgb(64, 13, 16)
HSLhsl(356, 66%, 15%)
HSVhsv(356, 80%, 25%)
CMYKcmyk(0%, 79.7%, 75%, 74.9%)
CIE-LABlab(12.06, 24.75, 11.65)
CIE-LCHlch(12.06, 27.35, 25.20°)
OKLaboklab(25.15% 0.073 0.0291)
OKLCHoklch(25.15% 0.079 21.7)
XYZxyz(2.3520, 1.4156, 0.6395)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D10 #0D403D
analogous
#400D29 #400D10 #40240D
triadic
#400D10 #10400D #0D1040
tetradic
#400D10 #29400D #0D403D #240D40
square
#400D10 #29400D #0D403D #240D40
split-complementary
#400D10 #0D4024 #0D2940
monochromatic
#190506 #190506 #400D10 #73171D #A62229

Accessibility & contrast

On white

16.37
#400D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400D10
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D10#FFFFFF#000000##FFFFFF
##400D101.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1910
Deuteranopia (green-blind)
#28240F
Tritanopia (blue-blind)
#47020F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400d10;
/* rgb */ color: rgb(64, 13, 16);
/* oklch */ color: oklch(25.1% 0.079 21.7);
Tailwind
colors: {
  custom: {
    50: '#79504e',
    500: '#400d10',
    950: '#000000',
  },
}
SCSS
$custom: #400d10;
$custom-light: #79504e;
$custom-dark: #000000;
JSON
{
  "hex": "#400d10",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 16
  },
  "hsl": {
    "h": 356.471,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25149,
    "c": 0.07853,
    "h": 21.7
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#400D10
secondary
#2D7C77
accent
#E9DF3F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400D10

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

Preview Lab → · Contrast checker → · Palette generator →

#400D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva