#401005#401005

#401005 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.4% C 0.077 H 34.9°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#401005
RGBrgb(64, 16, 5)
HSLhsl(11, 86%, 14%)
HSVhsv(11, 92%, 25%)
CMYKcmyk(0%, 75%, 92.2%, 74.9%)
CIE-LABlab(12.43, 22.66, 17.06)
CIE-LCHlch(12.43, 28.36, 36.99°)
OKLaboklab(25.37% 0.0635 0.0443)
OKLCHoklch(25.37% 0.077 34.9)
XYZxyz(2.3273, 1.4719, 0.3051)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401005 #053540
analogous
#400517 #401005 #402D05
triadic
#401005 #054010 #100540
tetradic
#401005 #174005 #053540 #2D0540
square
#401005 #174005 #053540 #2D0540
split-complementary
#401005 #05402D #051740
monochromatic
#1C0702 #1C0702 #401005 #791E09 #B22C0E

Accessibility & contrast

On white

16.22
#401005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#401005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401005
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401005#FFFFFF#000000##FFFFFF
##4010051.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A04
Deuteranopia (green-blind)
#2A2404
Tritanopia (blue-blind)
#47030E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #401005;
/* rgb */ color: rgb(64, 16, 5);
/* oklch */ color: oklch(25.4% 0.077 34.9);
Tailwind
colors: {
  custom: {
    50: '#7a5149',
    500: '#401005',
    950: '#000000',
  },
}
SCSS
$custom: #401005;
$custom-light: #7a5149;
$custom-dark: #000000;
JSON
{
  "hex": "#401005",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 5
  },
  "hsl": {
    "h": 11.186,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25369,
    "c": 0.07743,
    "h": 34.9
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#401005
secondary
#206F81
accent
#D5FC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401005

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

Preview Lab → · Contrast checker → · Palette generator →

#401005 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva