#400F19#400F19

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

Color values

HEX#400F19
RGBrgb(64, 15, 25)
HSLhsl(348, 62%, 15%)
HSVhsv(348, 77%, 25%)
CMYKcmyk(0%, 76.6%, 60.9%, 74.9%)
CIE-LABlab(12.62, 24.55, 6.38)
CIE-LCHlch(12.62, 25.36, 14.56°)
OKLaboklab(25.64% 0.0742 0.0161)
OKLCHoklch(25.64% 0.076 12.2)
XYZxyz(2.4609, 1.5022, 1.0799)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F19 #0F4036
analogous
#400F31 #400F19 #401D0F
triadic
#400F19 #19400F #0F1940
tetradic
#400F19 #31400F #0F4036 #1D0F40
square
#400F19 #31400F #0F4036 #1D0F40
split-complementary
#400F19 #0F401D #0F3140
monochromatic
#19060A #19060A #400F19 #721B2C #A32640

Accessibility & contrast

On white

16.15
#400F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F19
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F19#FFFFFF#000000##FFFFFF
##400F191.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1A19
Deuteranopia (green-blind)
#272418
Tritanopia (blue-blind)
#470613
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400f19;
/* rgb */ color: rgb(64, 15, 25);
/* oklch */ color: oklch(25.6% 0.076 12.2);
Tailwind
colors: {
  custom: {
    50: '#795155',
    500: '#400f19',
    950: '#000000',
  },
}
SCSS
$custom: #400f19;
$custom-light: #795155;
$custom-dark: #000000;
JSON
{
  "hex": "#400f19",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 25
  },
  "hsl": {
    "h": 347.755,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25635,
    "c": 0.07593,
    "h": 12.2
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#400F19
secondary
#307A6B
accent
#E5C443
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090203
muted
#7B7878

Preview Lab

Preview with #400F19

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

Preview Lab → · Contrast checker → · Palette generator →

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