#401306#401306

#401306 is a dark, moderate red. Relative luminance 0.016; OKLCH L 25.8% C 0.074 H 36.9°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#401306
RGBrgb(64, 19, 6)
HSLhsl(13, 83%, 14%)
HSVhsv(13, 91%, 25%)
CMYKcmyk(0%, 70.3%, 90.6%, 74.9%)
CIE-LABlab(13.04, 21.11, 17.48)
CIE-LCHlch(13.04, 27.41, 39.63°)
OKLaboklab(25.84% 0.059 0.0443)
OKLCHoklch(25.84% 0.074 36.9)
XYZxyz(2.3804, 1.5692, 0.3498)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401306 #063340
analogous
#400616 #401306 #403006
triadic
#401306 #064013 #130640
tetradic
#401306 #164006 #063340 #300640
square
#401306 #164006 #063340 #300640
split-complementary
#401306 #064030 #061640
monochromatic
#1C0803 #1C0803 #401306 #78240B #B03410

Accessibility & contrast

On white

15.98
#401306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401306
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401306#FFFFFF#000000##FFFFFF
##4013061.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B05
Deuteranopia (green-blind)
#2B2505
Tritanopia (blue-blind)
#470810
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401306;
/* rgb */ color: rgb(64, 19, 6);
/* oklch */ color: oklch(25.8% 0.074 36.9);
Tailwind
colors: {
  custom: {
    50: '#795349',
    500: '#401306',
    950: '#000000',
  },
}
SCSS
$custom: #401306;
$custom-light: #795349;
$custom-dark: #000000;
JSON
{
  "hex": "#401306",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 6
  },
  "hsl": {
    "h": 13.448,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25835,
    "c": 0.07381,
    "h": 36.9
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#401306
secondary
#226B80
accent
#CCF92F
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401306

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

Preview Lab → · Contrast checker → · Palette generator →

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