#401412#401412

#401412 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.2% C 0.069 H 25.6°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#401412
RGBrgb(64, 20, 18)
HSLhsl(3, 56%, 16%)
HSVhsv(3, 72%, 25%)
CMYKcmyk(0%, 68.8%, 71.9%, 74.9%)
CIE-LABlab(13.44, 21.29, 12.34)
CIE-LCHlch(13.44, 24.61, 30.09°)
OKLaboklab(26.19% 0.0625 0.03)
OKLCHoklch(26.19% 0.069 25.6)
XYZxyz(2.4739, 1.6343, 0.7573)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401412 #123E40
analogous
#401227 #401412 #402B12
triadic
#401412 #124014 #141240
tetradic
#401412 #274012 #123E40 #2B1240
square
#401412 #274012 #123E40 #2B1240
split-complementary
#401412 #12402B #122740
monochromatic
#180707 #180707 #401412 #70231F #A0322D

Accessibility & contrast

On white

15.83
#401412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401412
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401412#FFFFFF#000000##FFFFFF
##4014121.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D12
Deuteranopia (green-blind)
#2A2611
Tritanopia (blue-blind)
#470B14
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401412;
/* rgb */ color: rgb(64, 20, 18);
/* oklch */ color: oklch(26.2% 0.069 25.6);
Tailwind
colors: {
  custom: {
    50: '#79544f',
    500: '#401412',
    950: '#000000',
  },
}
SCSS
$custom: #401412;
$custom-light: #79544f;
$custom-dark: #000000;
JSON
{
  "hex": "#401412",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 18
  },
  "hsl": {
    "h": 2.609,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26193,
    "c": 0.06931,
    "h": 25.6
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#401412
secondary
#357679
accent
#D9DF48
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401412

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

Preview Lab → · Contrast checker → · Palette generator →

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