#40141A#40141A

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

Color values

HEX#40141A
RGBrgb(64, 20, 26)
HSLhsl(352, 52%, 16%)
HSVhsv(352, 69%, 25%)
CMYKcmyk(0%, 68.8%, 59.4%, 74.9%)
CIE-LABlab(13.62, 22.03, 7.01)
CIE-LCHlch(13.62, 23.11, 17.66°)
OKLaboklab(26.39% 0.0663 0.0177)
OKLCHoklch(26.39% 0.069 14.9)
XYZxyz(2.5512, 1.6652, 1.1642)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40141A #14403A
analogous
#401430 #40141A #402414
triadic
#40141A #1A4014 #141A40
tetradic
#40141A #304014 #14403A #241440
square
#40141A #304014 #14403A #241440
split-complementary
#40141A #144024 #143040
monochromatic
#170709 #170709 #40141A #6F232D #9D3140

Accessibility & contrast

On white

15.75
#40141A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#40141A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40141A
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40141A#FFFFFF#000000##FFFFFF
##40141A1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1D1A
Deuteranopia (green-blind)
#292619
Tritanopia (blue-blind)
#460D16
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #40141a;
/* rgb */ color: rgb(64, 20, 26);
/* oklch */ color: oklch(26.4% 0.069 14.9);
Tailwind
colors: {
  custom: {
    50: '#785456',
    500: '#40141a',
    950: '#000000',
  },
}
SCSS
$custom: #40141a;
$custom-light: #785456;
$custom-dark: #000000;
JSON
{
  "hex": "#40141a",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 26
  },
  "hsl": {
    "h": 351.818,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26392,
    "c": 0.06865,
    "h": 14.9
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#40141A
secondary
#38786F
accent
#DCC84C
background
#F7F4F5
surface
#EEE7E8
border
#C9C3C4
text
#090303
muted
#7B7878

Preview Lab

Preview with #40141A

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

Preview Lab → · Contrast checker → · Palette generator →

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