#401206#401206

#401206 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.7% C 0.075 H 35.9°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#401206
RGBrgb(64, 18, 6)
HSLhsl(12, 83%, 14%)
HSVhsv(12, 91%, 25%)
CMYKcmyk(0%, 71.9%, 90.6%, 74.9%)
CIE-LABlab(12.84, 21.65, 17.21)
CIE-LCHlch(12.84, 27.66, 38.47°)
OKLaboklab(25.68% 0.0607 0.0439)
OKLCHoklch(25.68% 0.075 35.9)
XYZxyz(2.3638, 1.5361, 0.3443)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401206 #063440
analogous
#400617 #401206 #402F06
triadic
#401206 #064012 #120640
tetradic
#401206 #174006 #063440 #2F0640
square
#401206 #174006 #063440 #2F0640
split-complementary
#401206 #06402F #061740
monochromatic
#1C0803 #1C0803 #401206 #78220B #B03110

Accessibility & contrast

On white

16.06
#401206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#401206 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401206
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401206#FFFFFF#000000##FFFFFF
##4012061.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B05
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#470610
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401206;
/* rgb */ color: rgb(64, 18, 6);
/* oklch */ color: oklch(25.7% 0.075 35.9);
Tailwind
colors: {
  custom: {
    50: '#7a5249',
    500: '#401206',
    950: '#000000',
  },
}
SCSS
$custom: #401206;
$custom-light: #7a5249;
$custom-dark: #000000;
JSON
{
  "hex": "#401206",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 6
  },
  "hsl": {
    "h": 12.414,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2568,
    "c": 0.07491,
    "h": 35.9
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#401206
secondary
#226C80
accent
#CFF92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401206

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

Preview Lab → · Contrast checker → · Palette generator →

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