#40100F#40100F

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

Color values

HEX#40100F
RGBrgb(64, 16, 15)
HSLhsl(1, 62%, 15%)
HSVhsv(1, 77%, 25%)
CMYKcmyk(0%, 75%, 76.6%, 74.9%)
CIE-LABlab(12.58, 23.22, 12.89)
CIE-LCHlch(12.58, 26.56, 29.04°)
OKLaboklab(25.53% 0.0679 0.0319)
OKLCHoklch(25.53% 0.075 25.2)
XYZxyz(2.3861, 1.4954, 0.6148)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40100F #0F3F40
analogous
#400F26 #40100F #40280F
triadic
#40100F #0F4010 #100F40
tetradic
#40100F #26400F #0F3F40 #280F40
square
#40100F #26400F #0F3F40 #280F40
split-complementary
#40100F #0F4028 #0F2640
monochromatic
#190606 #190606 #40100F #721C1B #A32926

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40100F#FFFFFF#000000##FFFFFF
##40100F1.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)
#1D1A0E
Deuteranopia (green-blind)
#29250E
Tritanopia (blue-blind)
#470510
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40100f;
/* rgb */ color: rgb(64, 16, 15);
/* oklch */ color: oklch(25.5% 0.075 25.2);
Tailwind
colors: {
  custom: {
    50: '#79514d',
    500: '#40100f',
    950: '#000000',
  },
}
SCSS
$custom: #40100f;
$custom-light: #79514d;
$custom-dark: #000000;
JSON
{
  "hex": "#40100f",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 15
  },
  "hsl": {
    "h": 1.224,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2553,
    "c": 0.075,
    "h": 25.2
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#40100F
secondary
#30797A
accent
#E2E543
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40100F

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

Preview Lab → · Contrast checker → · Palette generator →

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