#401B1F#401B1F

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

Color values

HEX#401B1F
RGBrgb(64, 27, 31)
HSLhsl(354, 41%, 18%)
HSVhsv(354, 58%, 25%)
CMYKcmyk(0%, 57.8%, 51.6%, 74.9%)
CIE-LABlab(15.35, 18.46, 5.76)
CIE-LCHlch(15.35, 19.34, 17.34°)
OKLaboklab(27.74% 0.0558 0.0148)
OKLCHoklch(27.74% 0.058 14.8)
XYZxyz(2.7538, 1.9731, 1.5319)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B1F #1B403C
analogous
#401B31 #401B1F #402A1B
triadic
#401B1F #1F401B #1B1F40
tetradic
#401B1F #31401B #1B403C #2A1B40
square
#401B1F #31401B #1B403C #2A1B40
split-complementary
#401B1F #1B402A #1B3140
monochromatic
#16090A #16090A #401B1F #6B2D34 #963F49

Accessibility & contrast

On white

15.06
#401B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B1F
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B1F#FFFFFF#000000##FFFFFF
##401B1F1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#46161D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b1f;
/* rgb */ color: rgb(64, 27, 31);
/* oklch */ color: oklch(27.7% 0.058 14.8);
Tailwind
colors: {
  custom: {
    50: '#77585a',
    500: '#401b1f',
    950: '#000000',
  },
}
SCSS
$custom: #401b1f;
$custom-light: #77585a;
$custom-dark: #000000;
JSON
{
  "hex": "#401b1f",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 31
  },
  "hsl": {
    "h": 353.514,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27735,
    "c": 0.05769,
    "h": 14.8
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#401B1F
secondary
#417570
accent
#D1C357
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #401B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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