#400E12#400E12

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

Color values

HEX#400E12
RGBrgb(64, 14, 18)
HSLhsl(355, 64%, 15%)
HSVhsv(355, 78%, 25%)
CMYKcmyk(0%, 78.1%, 71.9%, 74.9%)
CIE-LABlab(12.27, 24.42, 10.77)
CIE-LCHlch(12.27, 26.69, 23.80°)
OKLaboklab(25.32% 0.0724 0.0266)
OKLCHoklch(25.32% 0.077 20.2)
XYZxyz(2.3808, 1.4481, 0.7263)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E12 #0E403C
analogous
#400E2B #400E12 #40230E
triadic
#400E12 #12400E #0E1240
tetradic
#400E12 #2B400E #0E403C #230E40
square
#400E12 #2B400E #0E403C #230E40
split-complementary
#400E12 #0E4023 #0E2B40
monochromatic
#190507 #190507 #400E12 #721920 #A4242E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##400E12#FFFFFF#000000##FFFFFF
##400E121.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)
#1B1912
Deuteranopia (green-blind)
#282411
Tritanopia (blue-blind)
#470310
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e12;
/* rgb */ color: rgb(64, 14, 18);
/* oklch */ color: oklch(25.3% 0.077 20.2);
Tailwind
colors: {
  custom: {
    50: '#79504f',
    500: '#400e12',
    950: '#000000',
  },
}
SCSS
$custom: #400e12;
$custom-light: #79504f;
$custom-dark: #000000;
JSON
{
  "hex": "#400e12",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 18
  },
  "hsl": {
    "h": 355.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25321,
    "c": 0.07714,
    "h": 20.2
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#400E12
secondary
#2F7B75
accent
#E7DA41
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400E12

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

Preview Lab → · Contrast checker → · Palette generator →

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