#401512#401512

#401512 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.4% C 0.068 H 26.7°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#401512
RGBrgb(64, 21, 18)
HSLhsl(4, 56%, 16%)
HSVhsv(4, 72%, 25%)
CMYKcmyk(0%, 67.2%, 71.9%, 74.9%)
CIE-LABlab(13.65, 20.73, 12.62)
CIE-LCHlch(13.65, 24.27, 31.34°)
OKLaboklab(26.36% 0.0607 0.0306)
OKLCHoklch(26.36% 0.068 26.7)
XYZxyz(2.4919, 1.6703, 0.7633)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401512 #123D40
analogous
#401226 #401512 #402C12
triadic
#401512 #124015 #151240
tetradic
#401512 #264012 #123D40 #2C1240
square
#401512 #264012 #123D40 #2C1240
split-complementary
#401512 #12402C #122640
monochromatic
#180807 #180807 #401512 #70251F #A0342D

Accessibility & contrast

On white

15.74
#401512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401512
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401512#FFFFFF#000000##FFFFFF
##4015121.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D11
Deuteranopia (green-blind)
#2B2611
Tritanopia (blue-blind)
#470D15
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401512;
/* rgb */ color: rgb(64, 21, 18);
/* oklch */ color: oklch(26.4% 0.068 26.7);
Tailwind
colors: {
  custom: {
    50: '#79544f',
    500: '#401512',
    950: '#000000',
  },
}
SCSS
$custom: #401512;
$custom-light: #79544f;
$custom-dark: #000000;
JSON
{
  "hex": "#401512",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 3.913,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26355,
    "c": 0.06798,
    "h": 26.7
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#401512
secondary
#357579
accent
#D6DF48
background
#F7F4F4
surface
#EEE8E7
border
#C9C4C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401512

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

Preview Lab → · Contrast checker → · Palette generator →

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