#40100E#40100E

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

Color values

HEX#40100E
RGBrgb(64, 16, 14)
HSLhsl(2, 64%, 15%)
HSVhsv(2, 78%, 25%)
CMYKcmyk(0%, 75%, 78.1%, 74.9%)
CIE-LABlab(12.56, 23.16, 13.39)
CIE-LCHlch(12.56, 26.75, 30.03°)
OKLaboklab(25.51% 0.0674 0.0333)
OKLCHoklch(25.51% 0.075 26.3)
XYZxyz(2.3792, 1.4926, 0.5782)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40100E #0E3E40
analogous
#400E25 #40100E #40290E
triadic
#40100E #0E4010 #100E40
tetradic
#40100E #25400E #0E3E40 #290E40
square
#40100E #25400E #0E3E40 #290E40
split-complementary
#40100E #0E4029 #0E2540
monochromatic
#190605 #190605 #40100E #721D19 #A42924

Accessibility & contrast

On white

16.17
#40100E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40100E
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40100E#FFFFFF#000000##FFFFFF
##40100E1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1A0D
Deuteranopia (green-blind)
#29240D
Tritanopia (blue-blind)
#470510
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40100e;
/* rgb */ color: rgb(64, 16, 14);
/* oklch */ color: oklch(25.5% 0.075 26.3);
Tailwind
colors: {
  custom: {
    50: '#79514d',
    500: '#40100e',
    950: '#000000',
  },
}
SCSS
$custom: #40100e;
$custom-light: #79514d;
$custom-dark: #000000;
JSON
{
  "hex": "#40100e",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 14
  },
  "hsl": {
    "h": 2.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25511,
    "c": 0.07518,
    "h": 26.3
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#40100E
secondary
#2F787B
accent
#E0E741
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40100E

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

Preview Lab → · Contrast checker → · Palette generator →

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