#40160B#40160B

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

Color values

HEX#40160B
RGBrgb(64, 22, 11)
HSLhsl(12, 71%, 15%)
HSVhsv(12, 83%, 25%)
CMYKcmyk(0%, 65.6%, 82.8%, 74.9%)
CIE-LABlab(13.76, 19.67, 16.39)
CIE-LCHlch(13.76, 25.60, 39.80°)
OKLaboklab(26.4% 0.0558 0.0401)
OKLCHoklch(26.4% 0.069 35.7)
XYZxyz(2.4619, 1.6883, 0.5128)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40160B #0B3540
analogous
#400B1B #40160B #40310B
triadic
#40160B #0B4016 #160B40
tetradic
#40160B #1B400B #0B3540 #310B40
square
#40160B #1B400B #0B3540 #310B40
split-complementary
#40160B #0B4031 #0B1B40
monochromatic
#1A0904 #1A0904 #40160B #742814 #A83A1D

Accessibility & contrast

On white

15.70
#40160B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40160B
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40160B#FFFFFF#000000##FFFFFF
##40160B1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40160b;
/* rgb */ color: rgb(64, 22, 11);
/* oklch */ color: oklch(26.4% 0.069 35.7);
Tailwind
colors: {
  custom: {
    50: '#79554b',
    500: '#40160b',
    950: '#000000',
  },
}
SCSS
$custom: #40160b;
$custom-light: #79554b;
$custom-dark: #000000;
JSON
{
  "hex": "#40160b",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 11
  },
  "hsl": {
    "h": 12.453,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26398,
    "c": 0.06873,
    "h": 35.7
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#40160B
secondary
#2A6C7D
accent
#C8ED3A
background
#F7F5F4
surface
#EEE8E7
border
#C9C4C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #40160B

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

Preview Lab → · Contrast checker → · Palette generator →

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