#400F0E#400F0E

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

Color values

HEX#400F0E
RGBrgb(64, 15, 14)
HSLhsl(1, 64%, 15%)
HSVhsv(1, 78%, 25%)
CMYKcmyk(0%, 76.6%, 78.1%, 74.9%)
CIE-LABlab(12.38, 23.66, 13.14)
CIE-LCHlch(12.38, 27.06, 29.04°)
OKLaboklab(25.37% 0.069 0.0328)
OKLCHoklch(25.37% 0.076 25.4)
XYZxyz(2.3647, 1.4637, 0.5734)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F0E #0E3F40
analogous
#400E26 #400F0E #40280E
triadic
#400F0E #0E400F #0F0E40
tetradic
#400F0E #26400E #0E3F40 #280E40
square
#400F0E #26400E #0E3F40 #280E40
split-complementary
#400F0E #0E4028 #0E2640
monochromatic
#190605 #190605 #400F0E #721B19 #A42724

Accessibility & contrast

On white

16.25
#400F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F0E
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F0E#FFFFFF#000000##FFFFFF
##400F0E1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1A0D
Deuteranopia (green-blind)
#29240D
Tritanopia (blue-blind)
#47040F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400f0e;
/* rgb */ color: rgb(64, 15, 14);
/* oklch */ color: oklch(25.4% 0.076 25.4);
Tailwind
colors: {
  custom: {
    50: '#79514d',
    500: '#400f0e',
    950: '#000000',
  },
}
SCSS
$custom: #400f0e;
$custom-light: #79514d;
$custom-dark: #000000;
JSON
{
  "hex": "#400f0e",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 14
  },
  "hsl": {
    "h": 1.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25372,
    "c": 0.07639,
    "h": 25.4
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#400F0E
secondary
#2F797B
accent
#E4E741
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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