#400F14#400F14

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

Color values

HEX#400F14
RGBrgb(64, 15, 20)
HSLhsl(354, 62%, 15%)
HSVhsv(354, 77%, 25%)
CMYKcmyk(0%, 76.6%, 68.8%, 74.9%)
CIE-LABlab(12.50, 24.10, 9.81)
CIE-LCHlch(12.50, 26.02, 22.14°)
OKLaboklab(25.5% 0.0718 0.0241)
OKLCHoklch(25.5% 0.076 18.6)
XYZxyz(2.4117, 1.4825, 0.8208)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F14 #0F403B
analogous
#400F2C #400F14 #40220F
triadic
#400F14 #14400F #0F1440
tetradic
#400F14 #2C400F #0F403B #220F40
square
#400F14 #2C400F #0F403B #220F40
split-complementary
#400F14 #0F4022 #0F2C40
monochromatic
#190608 #190608 #400F14 #721B23 #A32633

Accessibility & contrast

On white

16.20
#400F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F14
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F14#FFFFFF#000000##FFFFFF
##400F141.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1A14
Deuteranopia (green-blind)
#282413
Tritanopia (blue-blind)
#470511
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400f14;
/* rgb */ color: rgb(64, 15, 20);
/* oklch */ color: oklch(25.5% 0.076 18.6);
Tailwind
colors: {
  custom: {
    50: '#795151',
    500: '#400f14',
    950: '#000000',
  },
}
SCSS
$custom: #400f14;
$custom-light: #795151;
$custom-dark: #000000;
JSON
{
  "hex": "#400f14",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 20
  },
  "hsl": {
    "h": 353.878,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25501,
    "c": 0.07575,
    "h": 18.6
  },
  "luminance": 0.01482
}

Semantic roles & 50–950 ramp

primary
#400F14
secondary
#307A73
accent
#E5D543
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400F14

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

Preview Lab → · Contrast checker → · Palette generator →

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