#401112#401112

#401112 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.7% C 0.073 H 22.7°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#401112
RGBrgb(64, 17, 18)
HSLhsl(359, 58%, 16%)
HSVhsv(359, 73%, 25%)
CMYKcmyk(0%, 73.4%, 71.9%, 74.9%)
CIE-LABlab(12.83, 22.92, 11.52)
CIE-LCHlch(12.83, 25.65, 26.69°)
OKLaboklab(25.74% 0.0676 0.0282)
OKLCHoklch(25.74% 0.073 22.7)
XYZxyz(2.4242, 1.5349, 0.7408)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401112 #11403F
analogous
#401129 #401112 #402711
triadic
#401112 #124011 #111240
tetradic
#401112 #294011 #11403F #271140
square
#401112 #294011 #11403F #271140
split-complementary
#401112 #114027 #112940
monochromatic
#180607 #180607 #401112 #701E20 #A12B2D

Accessibility & contrast

On white

16.07
#401112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#401112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401112
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401112#FFFFFF#000000##FFFFFF
##4011121.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B12
Deuteranopia (green-blind)
#292511
Tritanopia (blue-blind)
#470712
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401112;
/* rgb */ color: rgb(64, 17, 18);
/* oklch */ color: oklch(25.7% 0.073 22.7);
Tailwind
colors: {
  custom: {
    50: '#79524f',
    500: '#401112',
    950: '#000000',
  },
}
SCSS
$custom: #401112;
$custom-light: #79524f;
$custom-dark: #000000;
JSON
{
  "hex": "#401112",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 18
  },
  "hsl": {
    "h": 358.723,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25735,
    "c": 0.07329,
    "h": 22.7
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#401112
secondary
#337978
accent
#E1DE47
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #401112

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

Preview Lab → · Contrast checker → · Palette generator →

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