#40100B#40100B

#40100B is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.076 H 29.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#40100B
RGBrgb(64, 16, 11)
HSLhsl(6, 71%, 15%)
HSVhsv(6, 83%, 25%)
CMYKcmyk(0%, 75%, 82.8%, 74.9%)
CIE-LABlab(12.51, 22.97, 14.72)
CIE-LCHlch(12.51, 27.29, 32.66°)
OKLaboklab(25.46% 0.0661 0.0371)
OKLCHoklch(25.46% 0.076 29.3)
XYZxyz(2.3603, 1.4851, 0.4789)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40100B #0B3B40
analogous
#400B21 #40100B #402B0B
triadic
#40100B #0B4010 #100B40
tetradic
#40100B #21400B #0B3B40 #2B0B40
square
#40100B #21400B #0B3B40 #2B0B40
split-complementary
#40100B #0B402B #0B2140
monochromatic
#1A0704 #1A0704 #40100B #741D14 #A82A1D

Accessibility & contrast

On white

16.19
#40100B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#40100B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40100B
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40100B#FFFFFF#000000##FFFFFF
##40100B1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1A0A
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#47040F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40100b;
/* rgb */ color: rgb(64, 16, 11);
/* oklch */ color: oklch(25.5% 0.076 29.3);
Tailwind
colors: {
  custom: {
    50: '#79514b',
    500: '#40100b',
    950: '#000000',
  },
}
SCSS
$custom: #40100b;
$custom-light: #79514b;
$custom-dark: #000000;
JSON
{
  "hex": "#40100b",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 11
  },
  "hsl": {
    "h": 5.66,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25459,
    "c": 0.07579,
    "h": 29.3
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#40100B
secondary
#2A757D
accent
#DDED3A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40100B

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

Preview Lab → · Contrast checker → · Palette generator →

#40100B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva