#401316#401316

#401316 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.1% C 0.070 H 19.5°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#401316
RGBrgb(64, 19, 22)
HSLhsl(356, 54%, 16%)
HSVhsv(356, 70%, 25%)
CMYKcmyk(0%, 70.3%, 65.6%, 74.9%)
CIE-LABlab(13.32, 22.19, 9.52)
CIE-LCHlch(13.32, 24.14, 23.23°)
OKLaboklab(26.13% 0.0662 0.0234)
OKLCHoklch(26.13% 0.07 19.5)
XYZxyz(2.4923, 1.6140, 0.9392)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401316 #13403D
analogous
#40132D #401316 #402713
triadic
#401316 #164013 #131640
tetradic
#401316 #2D4013 #13403D #271340
square
#401316 #2D4013 #13403D #271340
split-complementary
#401316 #134027 #132D40
monochromatic
#180708 #180708 #401316 #6F2126 #9E2F36

Accessibility & contrast

On white

15.88
#401316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401316
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401316#FFFFFF#000000##FFFFFF
##4013161.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C16
Deuteranopia (green-blind)
#292615
Tritanopia (blue-blind)
#470B14
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401316;
/* rgb */ color: rgb(64, 19, 22);
/* oklch */ color: oklch(26.1% 0.070 19.5);
Tailwind
colors: {
  custom: {
    50: '#795352',
    500: '#401316',
    950: '#000000',
  },
}
SCSS
$custom: #401316;
$custom-light: #795352;
$custom-dark: #000000;
JSON
{
  "hex": "#401316",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 22
  },
  "hsl": {
    "h": 356,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26129,
    "c": 0.07016,
    "h": 19.5
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#401316
secondary
#367974
accent
#DED44A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401316

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

Preview Lab → · Contrast checker → · Palette generator →

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