#40100C#40100C

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

Color values

HEX#40100C
RGBrgb(64, 16, 12)
HSLhsl(5, 68%, 15%)
HSVhsv(5, 81%, 25%)
CMYKcmyk(0%, 75%, 81.2%, 74.9%)
CIE-LABlab(12.53, 23.03, 14.30)
CIE-LCHlch(12.53, 27.11, 31.84°)
OKLaboklab(25.48% 0.0665 0.0359)
OKLCHoklch(25.48% 0.076 28.3)
XYZxyz(2.3663, 1.4875, 0.5103)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40100C #0C3C40
analogous
#400C22 #40100C #402A0C
triadic
#40100C #0C4010 #100C40
tetradic
#40100C #22400C #0C3C40 #2A0C40
square
#40100C #22400C #0C3C40 #2A0C40
split-complementary
#40100C #0C402A #0C2240
monochromatic
#1A0605 #1A0605 #40100C #741D16 #A72A1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40100C#FFFFFF#000000##FFFFFF
##40100C1.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)
#1D1A0B
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#47040F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40100c;
/* rgb */ color: rgb(64, 16, 12);
/* oklch */ color: oklch(25.5% 0.076 28.3);
Tailwind
colors: {
  custom: {
    50: '#79514c',
    500: '#40100c',
    950: '#000000',
  },
}
SCSS
$custom: #40100c;
$custom-light: #79514c;
$custom-dark: #000000;
JSON
{
  "hex": "#40100c",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 12
  },
  "hsl": {
    "h": 4.615,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25476,
    "c": 0.07558,
    "h": 28.3
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#40100C
secondary
#2C767C
accent
#DEEB3D
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40100C

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

Preview Lab → · Contrast checker → · Palette generator →

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