#400C14#400C14

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

Color values

HEX#400C14
RGBrgb(64, 12, 20)
HSLhsl(351, 68%, 15%)
HSVhsv(351, 81%, 25%)
CMYKcmyk(0%, 81.2%, 68.8%, 74.9%)
CIE-LABlab(11.98, 25.51, 9.11)
CIE-LCHlch(11.98, 27.08, 19.65°)
OKLaboklab(25.12% 0.0763 0.0226)
OKLCHoklch(25.12% 0.08 16.5)
XYZxyz(2.3723, 1.4038, 0.8077)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C14 #0C4038
analogous
#400C2E #400C14 #401E0C
triadic
#400C14 #14400C #0C1440
tetradic
#400C14 #2E400C #0C4038 #1E0C40
square
#400C14 #2E400C #0C4038 #1E0C40
split-complementary
#400C14 #0C401E #0C2E40
monochromatic
#1A0508 #1A0508 #400C14 #741624 #A71F34

Accessibility & contrast

On white

16.40
#400C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400C14
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C14#FFFFFF#000000##FFFFFF
##400C141.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1914
Deuteranopia (green-blind)
#272313
Tritanopia (blue-blind)
#47010F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400c14;
/* rgb */ color: rgb(64, 12, 20);
/* oklch */ color: oklch(25.1% 0.080 16.5);
Tailwind
colors: {
  custom: {
    50: '#794f51',
    500: '#400c14',
    950: '#000000',
  },
}
SCSS
$custom: #400c14;
$custom-light: #794f51;
$custom-dark: #000000;
JSON
{
  "hex": "#400c14",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 20
  },
  "hsl": {
    "h": 350.769,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25118,
    "c": 0.07957,
    "h": 16.5
  },
  "luminance": 0.01403
}

Semantic roles & 50–950 ramp

primary
#400C14
secondary
#2C7C70
accent
#EBD03D
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400C14

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

Preview Lab → · Contrast checker → · Palette generator →

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