#40160D#40160D

#40160D is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.4% C 0.068 H 33.7°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#40160D
RGBrgb(64, 22, 13)
HSLhsl(11, 66%, 15%)
HSVhsv(11, 80%, 25%)
CMYKcmyk(0%, 65.6%, 79.7%, 74.9%)
CIE-LABlab(13.79, 19.79, 15.51)
CIE-LCHlch(13.79, 25.15, 38.09°)
OKLaboklab(26.43% 0.0567 0.0378)
OKLCHoklch(26.43% 0.068 33.7)
XYZxyz(2.4742, 1.6932, 0.5772)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40160D #0D3740
analogous
#400D1E #40160D #402F0D
triadic
#40160D #0D4016 #160D40
tetradic
#40160D #1E400D #0D3740 #2F0D40
square
#40160D #1E400D #0D3740 #2F0D40
split-complementary
#40160D #0D402F #0D1E40
monochromatic
#190905 #190905 #40160D #732717 #A63922

Accessibility & contrast

On white

15.69
#40160D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#40160D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40160D
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40160D#FFFFFF#000000##FFFFFF
##40160D1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D0C
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#470D14
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #40160d;
/* rgb */ color: rgb(64, 22, 13);
/* oklch */ color: oklch(26.4% 0.068 33.7);
Tailwind
colors: {
  custom: {
    50: '#79554c',
    500: '#40160d',
    950: '#000000',
  },
}
SCSS
$custom: #40160d;
$custom-light: #79554c;
$custom-dark: #000000;
JSON
{
  "hex": "#40160d",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 13
  },
  "hsl": {
    "h": 10.588,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26429,
    "c": 0.06808,
    "h": 33.7
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#40160D
secondary
#2D6E7C
accent
#CBE93F
background
#F7F5F4
surface
#EEE8E7
border
#C9C4C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #40160D

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

Preview Lab → · Contrast checker → · Palette generator →

#40160D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva