#40160C#40160C

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

Color values

HEX#40160C
RGBrgb(64, 22, 12)
HSLhsl(12, 68%, 15%)
HSVhsv(12, 81%, 25%)
CMYKcmyk(0%, 65.6%, 81.2%, 74.9%)
CIE-LABlab(13.77, 19.73, 15.96)
CIE-LCHlch(13.77, 25.38, 38.98°)
OKLaboklab(26.41% 0.0562 0.039)
OKLCHoklch(26.41% 0.068 34.7)
XYZxyz(2.4679, 1.6907, 0.5441)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40160C #0C3640
analogous
#400C1C #40160C #40300C
triadic
#40160C #0C4016 #160C40
tetradic
#40160C #1C400C #0C3640 #300C40
square
#40160C #1C400C #0C3640 #300C40
split-complementary
#40160C #0C4030 #0C1C40
monochromatic
#1A0905 #1A0905 #40160C #742816 #A7391F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40160C#FFFFFF#000000##FFFFFF
##40160C1.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)
#211D0B
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#470D14
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #40160c;
/* rgb */ color: rgb(64, 22, 12);
/* oklch */ color: oklch(26.4% 0.068 34.7);
Tailwind
colors: {
  custom: {
    50: '#79554c',
    500: '#40160c',
    950: '#000000',
  },
}
SCSS
$custom: #40160c;
$custom-light: #79554c;
$custom-dark: #000000;
JSON
{
  "hex": "#40160c",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 12
  },
  "hsl": {
    "h": 11.538,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26413,
    "c": 0.0684,
    "h": 34.7
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#40160C
secondary
#2C6D7C
accent
#CAEB3D
background
#F7F5F4
surface
#EEE8E7
border
#C9C4C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #40160C

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

Preview Lab → · Contrast checker → · Palette generator →

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