#400F05#400F05

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

Color values

HEX#400F05
RGBrgb(64, 15, 5)
HSLhsl(10, 86%, 14%)
HSVhsv(10, 92%, 25%)
CMYKcmyk(0%, 76.6%, 92.2%, 74.9%)
CIE-LABlab(12.24, 23.16, 16.81)
CIE-LCHlch(12.24, 28.62, 35.97°)
OKLaboklab(25.23% 0.0651 0.0439)
OKLCHoklch(25.23% 0.079 34)
XYZxyz(2.3128, 1.4429, 0.3003)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F05 #053640
analogous
#400518 #400F05 #402C05
triadic
#400F05 #05400F #0F0540
tetradic
#400F05 #184005 #053640 #2C0540
square
#400F05 #184005 #053640 #2C0540
split-complementary
#400F05 #05402C #051840
monochromatic
#1C0702 #1C0702 #400F05 #791C09 #B22A0E

Accessibility & contrast

On white

16.30
#400F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F05
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F05#FFFFFF#000000##FFFFFF
##400F051.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400f05;
/* rgb */ color: rgb(64, 15, 5);
/* oklch */ color: oklch(25.2% 0.079 34.0);
Tailwind
colors: {
  custom: {
    50: '#7a5149',
    500: '#400f05',
    950: '#000000',
  },
}
SCSS
$custom: #400f05;
$custom-light: #7a5149;
$custom-dark: #000000;
JSON
{
  "hex": "#400f05",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 5
  },
  "hsl": {
    "h": 10.169,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25228,
    "c": 0.0785,
    "h": 34
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#400F05
secondary
#207081
accent
#D9FC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400F05

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

Preview Lab → · Contrast checker → · Palette generator →

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