#401E26#401E26

#401E26 is a dark, muted red. Relative luminance 0.022; OKLCH L 28.5% C 0.054 H 6.0°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#401E26
RGBrgb(64, 30, 38)
HSLhsl(346, 36%, 18%)
HSVhsv(346, 53%, 25%)
CMYKcmyk(0%, 53.1%, 40.6%, 74.9%)
CIE-LABlab(16.30, 17.53, 2.09)
CIE-LCHlch(16.30, 17.66, 6.79°)
OKLaboklab(28.53% 0.0532 0.0056)
OKLCHoklch(28.53% 0.054 6)
XYZxyz(2.9286, 2.1587, 2.0958)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401E26 #1E4038
analogous
#401E37 #401E26 #40271E
triadic
#401E26 #26401E #1E2640
tetradic
#401E26 #37401E #1E4038 #271E40
square
#401E26 #37401E #1E4038 #271E40
split-complementary
#401E26 #1E4027 #1E3740
monochromatic
#150A0C #160A0D #401E26 #6A323F #934557

Accessibility & contrast

On white

14.67
#401E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401E26
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401E26#FFFFFF#000000##FFFFFF
##401E261.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242426
Deuteranopia (green-blind)
#2C2B25
Tritanopia (blue-blind)
#451B21
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401e26;
/* rgb */ color: rgb(64, 30, 38);
/* oklch */ color: oklch(28.5% 0.054 6.0);
Tailwind
colors: {
  custom: {
    50: '#765b60',
    500: '#401e26',
    950: '#000000',
  },
}
SCSS
$custom: #401e26;
$custom-light: #765b60;
$custom-dark: #000000;
JSON
{
  "hex": "#401e26",
  "rgb": {
    "r": 64,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 345.882,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28526,
    "c": 0.05352,
    "h": 6
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#401E26
secondary
#457469
accent
#CCB25C
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090404
muted
#7B7979

Preview Lab

Preview with #401E26

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

Preview Lab → · Contrast checker → · Palette generator →

#401E26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva