#401A0F#401A0F

#401A0F is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.2% C 0.063 H 37.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#401A0F
RGBrgb(64, 26, 15)
HSLhsl(13, 62%, 15%)
HSVhsv(13, 77%, 25%)
CMYKcmyk(0%, 59.4%, 76.6%, 74.9%)
CIE-LABlab(14.75, 17.51, 15.77)
CIE-LCHlch(14.75, 23.57, 41.99°)
OKLaboklab(27.17% 0.0501 0.0377)
OKLCHoklch(27.17% 0.063 37)
XYZxyz(2.5702, 1.8636, 0.6762)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401A0F #0F3540
analogous
#400F1D #401A0F #40320F
triadic
#401A0F #0F401A #1A0F40
tetradic
#401A0F #1D400F #0F3540 #320F40
square
#401A0F #1D400F #0F3540 #320F40
split-complementary
#401A0F #0F4032 #0F1D40
monochromatic
#190A06 #190A06 #401A0F #722E1B #A34226

Accessibility & contrast

On white

15.30
#401A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401A0F
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401A0F#FFFFFF#000000##FFFFFF
##401A0F1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200E
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#471317
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401a0f;
/* rgb */ color: rgb(64, 26, 15);
/* oklch */ color: oklch(27.2% 0.063 37.0);
Tailwind
colors: {
  custom: {
    50: '#79574e',
    500: '#401a0f',
    950: '#000000',
  },
}
SCSS
$custom: #401a0f;
$custom-light: #79574e;
$custom-dark: #000000;
JSON
{
  "hex": "#401a0f",
  "rgb": {
    "r": 64,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 13.469,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27173,
    "c": 0.06265,
    "h": 37
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#401A0F
secondary
#306A7A
accent
#C1E543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #401A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#401A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva