#40110A#40110A

#40110A is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.6% C 0.075 H 31.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#40110A
RGBrgb(64, 17, 10)
HSLhsl(8, 73%, 15%)
HSVhsv(8, 84%, 25%)
CMYKcmyk(0%, 73.4%, 84.4%, 74.9%)
CIE-LABlab(12.69, 22.40, 15.38)
CIE-LCHlch(12.69, 27.17, 34.47°)
OKLaboklab(25.59% 0.0641 0.0387)
OKLCHoklch(25.59% 0.075 31.1)
XYZxyz(2.3698, 1.5131, 0.4544)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40110A #0A3940
analogous
#400A1E #40110A #402C0A
triadic
#40110A #0A4011 #110A40
tetradic
#40110A #1E400A #0A3940 #2C0A40
square
#40110A #1E400A #0A3940 #2C0A40
split-complementary
#40110A #0A402C #0A1E40
monochromatic
#1A0704 #1A0704 #40110A #751F12 #AA2D1B

Accessibility & contrast

On white

16.12
#40110A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#40110A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40110A
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40110A#FFFFFF#000000##FFFFFF
##40110A1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A09
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#470510
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40110a;
/* rgb */ color: rgb(64, 17, 10);
/* oklch */ color: oklch(25.6% 0.075 31.1);
Tailwind
colors: {
  custom: {
    50: '#79524b',
    500: '#40110a',
    950: '#000000',
  },
}
SCSS
$custom: #40110a;
$custom-light: #79524b;
$custom-dark: #000000;
JSON
{
  "hex": "#40110a",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 10
  },
  "hsl": {
    "h": 7.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25589,
    "c": 0.07486,
    "h": 31.1
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#40110A
secondary
#29727D
accent
#D8F038
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40110A

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

Preview Lab → · Contrast checker → · Palette generator →

#40110A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva