#400F11#400F11

#400F11 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.4% C 0.076 H 22.1°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#400F11
RGBrgb(64, 15, 17)
HSLhsl(358, 62%, 15%)
HSVhsv(358, 77%, 25%)
CMYKcmyk(0%, 76.6%, 73.4%, 74.9%)
CIE-LABlab(12.43, 23.86, 11.58)
CIE-LCHlch(12.43, 26.53, 25.89°)
OKLaboklab(25.43% 0.0704 0.0286)
OKLCHoklch(25.43% 0.076 22.1)
XYZxyz(2.3866, 1.4724, 0.6887)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F11 #0F403E
analogous
#400F29 #400F11 #40250F
triadic
#400F11 #11400F #0F1140
tetradic
#400F11 #29400F #0F403E #250F40
square
#400F11 #29400F #0F403E #250F40
split-complementary
#400F11 #0F4025 #0F2940
monochromatic
#190607 #190607 #400F11 #721B1E #A3262B

Accessibility & contrast

On white

16.22
#400F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F11
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F11#FFFFFF#000000##FFFFFF
##400F111.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1A11
Deuteranopia (green-blind)
#282410
Tritanopia (blue-blind)
#470410
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400f11;
/* rgb */ color: rgb(64, 15, 17);
/* oklch */ color: oklch(25.4% 0.076 22.1);
Tailwind
colors: {
  custom: {
    50: '#79514f',
    500: '#400f11',
    950: '#000000',
  },
}
SCSS
$custom: #400f11;
$custom-light: #79514f;
$custom-dark: #000000;
JSON
{
  "hex": "#400f11",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 17
  },
  "hsl": {
    "h": 357.551,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25432,
    "c": 0.07597,
    "h": 22.1
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#400F11
secondary
#307A77
accent
#E5DE43
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400F11

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

Preview Lab → · Contrast checker → · Palette generator →

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