#400E13#400E13

#400E13 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.3% C 0.077 H 19.0°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#400E13
RGBrgb(64, 14, 19)
HSLhsl(354, 64%, 15%)
HSVhsv(354, 78%, 25%)
CMYKcmyk(0%, 78.1%, 70.3%, 74.9%)
CIE-LABlab(12.30, 24.50, 10.18)
CIE-LCHlch(12.30, 26.53, 22.56°)
OKLaboklab(25.34% 0.0729 0.0251)
OKLCHoklch(25.34% 0.077 19)
XYZxyz(2.3892, 1.4514, 0.7703)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E13 #0E403B
analogous
#400E2C #400E13 #40220E
triadic
#400E13 #13400E #0E1340
tetradic
#400E13 #2C400E #0E403B #220E40
square
#400E13 #2C400E #0E403B #220E40
split-complementary
#400E13 #0E4022 #0E2C40
monochromatic
#190507 #190507 #400E13 #721922 #A42431

Accessibility & contrast

On white

16.28
#400E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E13
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E13#FFFFFF#000000##FFFFFF
##400E131.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1913
Deuteranopia (green-blind)
#282412
Tritanopia (blue-blind)
#470310
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e13;
/* rgb */ color: rgb(64, 14, 19);
/* oklch */ color: oklch(25.3% 0.077 19.0);
Tailwind
colors: {
  custom: {
    50: '#795050',
    500: '#400e13',
    950: '#000000',
  },
}
SCSS
$custom: #400e13;
$custom-light: #795050;
$custom-dark: #000000;
JSON
{
  "hex": "#400e13",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 19
  },
  "hsl": {
    "h": 354,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25344,
    "c": 0.07709,
    "h": 19
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#400E13
secondary
#2F7B73
accent
#E7D641
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400E13

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

Preview Lab → · Contrast checker → · Palette generator →

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