#40160E#40160E

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

Color values

HEX#40160E
RGBrgb(64, 22, 14)
HSLhsl(10, 64%, 15%)
HSVhsv(10, 78%, 25%)
CMYKcmyk(0%, 65.6%, 78.1%, 74.9%)
CIE-LABlab(13.80, 19.86, 15.04)
CIE-LCHlch(13.80, 24.91, 37.14°)
OKLaboklab(26.45% 0.0571 0.0365)
OKLCHoklch(26.45% 0.068 32.6)
XYZxyz(2.4808, 1.6958, 0.6121)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40160E #0E3840
analogous
#400E1F #40160E #402F0E
triadic
#40160E #0E4016 #160E40
tetradic
#40160E #1F400E #0E3840 #2F0E40
square
#40160E #1F400E #0E3840 #2F0E40
split-complementary
#40160E #0E402F #0E1F40
monochromatic
#190905 #190905 #40160E #722719 #A43924

Accessibility & contrast

On white

15.68
#40160E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40160E
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40160E#FFFFFF#000000##FFFFFF
##40160E1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40160e;
/* rgb */ color: rgb(64, 22, 14);
/* oklch */ color: oklch(26.4% 0.068 32.6);
Tailwind
colors: {
  custom: {
    50: '#79554d',
    500: '#40160e',
    950: '#000000',
  },
}
SCSS
$custom: #40160e;
$custom-light: #79554d;
$custom-dark: #000000;
JSON
{
  "hex": "#40160e",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 14
  },
  "hsl": {
    "h": 9.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26446,
    "c": 0.06777,
    "h": 32.6
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#40160E
secondary
#2F6F7B
accent
#CCE741
background
#F7F5F4
surface
#EEE8E7
border
#C9C4C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #40160E

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

Preview Lab → · Contrast checker → · Palette generator →

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