#401311#401311

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

Color values

HEX#401311
RGBrgb(64, 19, 17)
HSLhsl(3, 58%, 16%)
HSVhsv(3, 73%, 25%)
CMYKcmyk(0%, 70.3%, 73.4%, 74.9%)
CIE-LABlab(13.21, 21.77, 12.63)
CIE-LCHlch(13.21, 25.17, 30.11°)
OKLaboklab(26.02% 0.0638 0.0308)
OKLCHoklch(26.02% 0.071 25.8)
XYZxyz(2.4486, 1.5965, 0.7094)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401311 #113E40
analogous
#401126 #401311 #402A11
triadic
#401311 #114013 #131140
tetradic
#401311 #264011 #113E40 #2A1140
square
#401311 #264011 #113E40 #2A1140
split-complementary
#401311 #11402A #112640
monochromatic
#180706 #180706 #401311 #70211E #A1302B

Accessibility & contrast

On white

15.92
#401311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401311
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401311#FFFFFF#000000##FFFFFF
##4013111.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C10
Deuteranopia (green-blind)
#2A2610
Tritanopia (blue-blind)
#470913
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401311;
/* rgb */ color: rgb(64, 19, 17);
/* oklch */ color: oklch(26.0% 0.071 25.8);
Tailwind
colors: {
  custom: {
    50: '#79534f',
    500: '#401311',
    950: '#000000',
  },
}
SCSS
$custom: #401311;
$custom-light: #79534f;
$custom-dark: #000000;
JSON
{
  "hex": "#401311",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 17
  },
  "hsl": {
    "h": 2.553,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26015,
    "c": 0.07082,
    "h": 25.8
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#401311
secondary
#337779
accent
#DBE147
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401311

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

Preview Lab → · Contrast checker → · Palette generator →

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