#401B1C#401B1C

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

Color values

HEX#401B1C
RGBrgb(64, 27, 28)
HSLhsl(358, 41%, 18%)
HSVhsv(358, 58%, 25%)
CMYKcmyk(0%, 57.8%, 56.2%, 74.9%)
CIE-LABlab(15.27, 18.10, 7.81)
CIE-LCHlch(15.27, 19.71, 23.33°)
OKLaboklab(27.65% 0.0543 0.0197)
OKLCHoklch(27.65% 0.058 19.9)
XYZxyz(2.7161, 1.9580, 1.3333)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B1C #1B403F
analogous
#401B2E #401B1C #402C1B
triadic
#401B1C #1C401B #1B1C40
tetradic
#401B1C #2E401B #1B403F #2C1B40
square
#401B1C #2E401B #1B403F #2C1B40
split-complementary
#401B1C #1B402C #1B2E40
monochromatic
#160909 #160909 #401B1C #6B2D2F #963F42

Accessibility & contrast

On white

15.09
#401B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B1C
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B1C#FFFFFF#000000##FFFFFF
##401B1C1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221C
Deuteranopia (green-blind)
#2C291B
Tritanopia (blue-blind)
#46161C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b1c;
/* rgb */ color: rgb(64, 27, 28);
/* oklch */ color: oklch(27.6% 0.058 19.9);
Tailwind
colors: {
  custom: {
    50: '#775857',
    500: '#401b1c',
    950: '#000000',
  },
}
SCSS
$custom: #401b1c;
$custom-light: #775857;
$custom-dark: #000000;
JSON
{
  "hex": "#401b1c",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 28
  },
  "hsl": {
    "h": 358.378,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27648,
    "c": 0.05776,
    "h": 19.9
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#401B1C
secondary
#417574
accent
#D1CD57
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #401B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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