#401B1A#401B1A

#401B1A is a dark, muted red. Relative luminance 0.019; OKLCH L 27.6% C 0.058 H 23.2°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#401B1A
RGBrgb(64, 27, 26)
HSLhsl(2, 42%, 18%)
HSVhsv(2, 59%, 25%)
CMYKcmyk(0%, 57.8%, 59.4%, 74.9%)
CIE-LABlab(15.22, 17.88, 9.17)
CIE-LCHlch(15.22, 20.09, 27.16°)
OKLaboklab(27.59% 0.0533 0.0228)
OKLCHoklch(27.59% 0.058 23.2)
XYZxyz(2.6929, 1.9487, 1.2114)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B1A #1A3F40
analogous
#401A2C #401B1A #402E1A
triadic
#401B1A #1A401B #1B1A40
tetradic
#401B1A #2C401A #1A3F40 #2E1A40
square
#401B1A #2C401A #1A3F40 #2E1A40
split-complementary
#401B1A #1A402E #1A2C40
monochromatic
#160909 #160909 #401B1A #6C2D2C #97403D

Accessibility & contrast

On white

15.11
#401B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B1A
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B1A#FFFFFF#000000##FFFFFF
##401B1A1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24211A
Deuteranopia (green-blind)
#2D2919
Tritanopia (blue-blind)
#46151B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b1a;
/* rgb */ color: rgb(64, 27, 26);
/* oklch */ color: oklch(27.6% 0.058 23.2);
Tailwind
colors: {
  custom: {
    50: '#785856',
    500: '#401b1a',
    950: '#000000',
  },
}
SCSS
$custom: #401b1a;
$custom-light: #785856;
$custom-dark: #000000;
JSON
{
  "hex": "#401b1a",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 26
  },
  "hsl": {
    "h": 1.579,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.058,
    "h": 23.2
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#401B1A
secondary
#407476
accent
#CFD256
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #401B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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