#400F16#400F16

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

Color values

HEX#400F16
RGBrgb(64, 15, 22)
HSLhsl(351, 62%, 15%)
HSVhsv(351, 77%, 25%)
CMYKcmyk(0%, 76.6%, 65.6%, 74.9%)
CIE-LABlab(12.54, 24.27, 8.49)
CIE-LCHlch(12.54, 25.71, 19.28°)
OKLaboklab(25.55% 0.0728 0.021)
OKLCHoklch(25.55% 0.076 16.1)
XYZxyz(2.4302, 1.4899, 0.9185)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F16 #0F4039
analogous
#400F2E #400F16 #40200F
triadic
#400F16 #16400F #0F1640
tetradic
#400F16 #2E400F #0F4039 #200F40
square
#400F16 #2E400F #0F4039 #200F40
split-complementary
#400F16 #0F4020 #0F2E40
monochromatic
#190609 #190609 #400F16 #721B27 #A32638

Accessibility & contrast

On white

16.18
#400F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F16
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F16#FFFFFF#000000##FFFFFF
##400F161.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1A16
Deuteranopia (green-blind)
#282415
Tritanopia (blue-blind)
#470512
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400f16;
/* rgb */ color: rgb(64, 15, 22);
/* oklch */ color: oklch(25.6% 0.076 16.1);
Tailwind
colors: {
  custom: {
    50: '#795152',
    500: '#400f16',
    950: '#000000',
  },
}
SCSS
$custom: #400f16;
$custom-light: #795152;
$custom-dark: #000000;
JSON
{
  "hex": "#400f16",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 22
  },
  "hsl": {
    "h": 351.429,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25552,
    "c": 0.07572,
    "h": 16.1
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#400F16
secondary
#307A70
accent
#E5CE43
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400F16

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

Preview Lab → · Contrast checker → · Palette generator →

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