#400F06#400F06

#400F06 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.2% C 0.078 H 33.1°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#400F06
RGBrgb(64, 15, 6)
HSLhsl(9, 83%, 14%)
HSVhsv(9, 91%, 25%)
CMYKcmyk(0%, 76.6%, 90.6%, 74.9%)
CIE-LABlab(12.25, 23.22, 16.42)
CIE-LCHlch(12.25, 28.44, 35.27°)
OKLaboklab(25.24% 0.0655 0.0427)
OKLCHoklch(25.24% 0.078 33.1)
XYZxyz(2.3183, 1.4451, 0.3291)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F06 #063740
analogous
#40061A #400F06 #402C06
triadic
#400F06 #06400F #0F0640
tetradic
#400F06 #1A4006 #063740 #2C0640
square
#400F06 #1A4006 #063740 #2C0640
split-complementary
#400F06 #06402C #061A40
monochromatic
#1C0703 #1C0703 #400F06 #781C0B #B02910

Accessibility & contrast

On white

16.29
#400F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F06
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F06#FFFFFF#000000##FFFFFF
##400F061.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1905
Deuteranopia (green-blind)
#292404
Tritanopia (blue-blind)
#47020D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400f06;
/* rgb */ color: rgb(64, 15, 6);
/* oklch */ color: oklch(25.2% 0.078 33.1);
Tailwind
colors: {
  custom: {
    50: '#7a5149',
    500: '#400f06',
    950: '#000000',
  },
}
SCSS
$custom: #400f06;
$custom-light: #7a5149;
$custom-dark: #000000;
JSON
{
  "hex": "#400f06",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 6
  },
  "hsl": {
    "h": 9.31,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25243,
    "c": 0.07819,
    "h": 33.1
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#400F06
secondary
#227180
accent
#DAF92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400F06

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

Preview Lab → · Contrast checker → · Palette generator →

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