#401006#401006

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

Color values

HEX#401006
RGBrgb(64, 16, 6)
HSLhsl(10, 83%, 14%)
HSVhsv(10, 91%, 25%)
CMYKcmyk(0%, 75%, 90.6%, 74.9%)
CIE-LABlab(12.44, 22.71, 16.68)
CIE-LCHlch(12.44, 28.17, 36.29°)
OKLaboklab(25.38% 0.064 0.0431)
OKLCHoklch(25.38% 0.077 33.9)
XYZxyz(2.3328, 1.4741, 0.3339)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401006 #063640
analogous
#400619 #401006 #402D06
triadic
#401006 #064010 #100640
tetradic
#401006 #194006 #063640 #2D0640
square
#401006 #194006 #063640 #2D0640
split-complementary
#401006 #06402D #061940
monochromatic
#1C0703 #1C0703 #401006 #781E0B #B02C10

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##401006#FFFFFF#000000##FFFFFF
##4010061.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)
#1E1A05
Deuteranopia (green-blind)
#2A2405
Tritanopia (blue-blind)
#47040E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #401006;
/* rgb */ color: rgb(64, 16, 6);
/* oklch */ color: oklch(25.4% 0.077 33.9);
Tailwind
colors: {
  custom: {
    50: '#7a5149',
    500: '#401006',
    950: '#000000',
  },
}
SCSS
$custom: #401006;
$custom-light: #7a5149;
$custom-dark: #000000;
JSON
{
  "hex": "#401006",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 6
  },
  "hsl": {
    "h": 10.345,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25384,
    "c": 0.0771,
    "h": 33.9
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#401006
secondary
#227080
accent
#D6F92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401006

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

Preview Lab → · Contrast checker → · Palette generator →

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