#401104#401104

#401104 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.077 H 36.8°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#401104
RGBrgb(64, 17, 4)
HSLhsl(13, 88%, 13%)
HSVhsv(13, 94%, 25%)
CMYKcmyk(0%, 73.4%, 93.8%, 74.9%)
CIE-LABlab(12.61, 22.08, 17.71)
CIE-LCHlch(12.61, 28.31, 38.74°)
OKLaboklab(25.5% 0.0614 0.046)
OKLCHoklch(25.5% 0.077 36.8)
XYZxyz(2.3370, 1.5000, 0.2813)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401104 #043340
analogous
#400415 #401104 #402F04
triadic
#401104 #044011 #110440
tetradic
#401104 #154004 #043340 #2F0440
square
#401104 #154004 #043340 #2F0440
split-complementary
#401104 #04402F #041540
monochromatic
#1D0802 #1D0802 #401104 #7A2008 #B3300B

Accessibility & contrast

On white

16.15
#401104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#401104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401104
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401104#FFFFFF#000000##FFFFFF
##4011041.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A03
Deuteranopia (green-blind)
#2A2503
Tritanopia (blue-blind)
#47050E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401104;
/* rgb */ color: rgb(64, 17, 4);
/* oklch */ color: oklch(25.5% 0.077 36.8);
Tailwind
colors: {
  custom: {
    50: '#7a5248',
    500: '#401104',
    950: '#000000',
  },
}
SCSS
$custom: #401104;
$custom-light: #7a5248;
$custom-dark: #000000;
JSON
{
  "hex": "#401104",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 4
  },
  "hsl": {
    "h": 13,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.255,
    "c": 0.07672,
    "h": 36.8
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#401104
secondary
#1F6C81
accent
#D0FE29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401104

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

Preview Lab → · Contrast checker → · Palette generator →

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