#401406#401406

#401406 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.0% C 0.073 H 38.0°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#401406
RGBrgb(64, 20, 6)
HSLhsl(14, 83%, 14%)
HSVhsv(14, 91%, 25%)
CMYKcmyk(0%, 68.8%, 90.6%, 74.9%)
CIE-LABlab(13.25, 20.55, 17.76)
CIE-LCHlch(13.25, 27.16, 40.85°)
OKLaboklab(26% 0.0573 0.0448)
OKLCHoklch(26% 0.073 38)
XYZxyz(2.3976, 1.6038, 0.3556)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401406 #063240
analogous
#400615 #401406 #403106
triadic
#401406 #064014 #140640
tetradic
#401406 #154006 #063240 #310640
square
#401406 #154006 #063240 #310640
split-complementary
#401406 #064031 #061540
monochromatic
#1C0903 #1C0903 #401406 #78250B #B03710

Accessibility & contrast

On white

15.90
#401406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#401406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401406
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401406#FFFFFF#000000##FFFFFF
##4014061.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201C05
Deuteranopia (green-blind)
#2B2605
Tritanopia (blue-blind)
#470911
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401406;
/* rgb */ color: rgb(64, 20, 6);
/* oklch */ color: oklch(26.0% 0.073 38.0);
Tailwind
colors: {
  custom: {
    50: '#795349',
    500: '#401406',
    950: '#000000',
  },
}
SCSS
$custom: #401406;
$custom-light: #795349;
$custom-dark: #000000;
JSON
{
  "hex": "#401406",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 6
  },
  "hsl": {
    "h": 14.483,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25995,
    "c": 0.07272,
    "h": 38
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#401406
secondary
#226980
accent
#C8F92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401406

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

Preview Lab → · Contrast checker → · Palette generator →

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