#401B16#401B16

#401B16 is a dark, muted red. Relative luminance 0.019; OKLCH L 27.5% C 0.059 H 29.3°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#401B16
RGBrgb(64, 27, 22)
HSLhsl(7, 49%, 17%)
HSVhsv(7, 66%, 25%)
CMYKcmyk(0%, 57.8%, 65.6%, 74.9%)
CIE-LABlab(15.13, 17.47, 11.89)
CIE-LCHlch(15.13, 21.14, 34.24°)
OKLaboklab(27.5% 0.0514 0.0289)
OKLCHoklch(27.5% 0.059 29.3)
XYZxyz(2.6513, 1.9321, 0.9922)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B16 #163B40
analogous
#401626 #401B16 #403016
triadic
#401B16 #16401B #1B1640
tetradic
#401B16 #264016 #163B40 #301640
square
#401B16 #264016 #163B40 #301640
split-complementary
#401B16 #164030 #162640
monochromatic
#170A08 #170A08 #401B16 #6E2E26 #9B4135

Accessibility & contrast

On white

15.15
#401B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B16
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B16#FFFFFF#000000##FFFFFF
##401B161.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242115
Deuteranopia (green-blind)
#2D2915
Tritanopia (blue-blind)
#46151A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b16;
/* rgb */ color: rgb(64, 27, 22);
/* oklch */ color: oklch(27.5% 0.059 29.3);
Tailwind
colors: {
  custom: {
    50: '#785853',
    500: '#401b16',
    950: '#000000',
  },
}
SCSS
$custom: #401b16;
$custom-light: #785853;
$custom-dark: #000000;
JSON
{
  "hex": "#401b16",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 22
  },
  "hsl": {
    "h": 7.143,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27498,
    "c": 0.05893,
    "h": 29.3
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#401B16
secondary
#3B7077
accent
#C8D84F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401B16

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

Preview Lab → · Contrast checker → · Palette generator →

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