#40211A#40211A

#40211A is a dark, muted red. Relative luminance 0.023; OKLCH L 28.8% C 0.050 H 33.7°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#40211A
RGBrgb(64, 33, 26)
HSLhsl(11, 42%, 18%)
HSVhsv(11, 59%, 25%)
CMYKcmyk(0%, 48.4%, 59.4%, 74.9%)
CIE-LABlab(16.76, 14.03, 11.22)
CIE-LCHlch(16.76, 17.97, 38.65°)
OKLaboklab(28.77% 0.0415 0.0276)
OKLCHoklch(28.77% 0.05 33.7)
XYZxyz(2.8449, 2.2526, 1.2620)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40211A #1A3940
analogous
#401A26 #40211A #40341A
triadic
#40211A #1A4021 #211A40
tetradic
#40211A #26401A #1A3940 #341A40
square
#40211A #26401A #1A3940 #341A40
split-complementary
#40211A #1A4034 #1A2640
monochromatic
#160B09 #160B09 #40211A #6C372C #974E3D

Accessibility & contrast

On white

14.48
#40211A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#40211A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40211A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40211A#FFFFFF#000000##FFFFFF
##40211A1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292519
Deuteranopia (green-blind)
#302C1A
Tritanopia (blue-blind)
#461C1F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40211a;
/* rgb */ color: rgb(64, 33, 26);
/* oklch */ color: oklch(28.8% 0.050 33.7);
Tailwind
colors: {
  custom: {
    50: '#775c56',
    500: '#40211a',
    950: '#000000',
  },
}
SCSS
$custom: #40211a;
$custom-light: #775c56;
$custom-dark: #000000;
JSON
{
  "hex": "#40211a",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 26
  },
  "hsl": {
    "h": 11.053,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28772,
    "c": 0.04981,
    "h": 33.7
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#40211A
secondary
#406C76
accent
#BBD256
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090403
muted
#7B7978

Preview Lab

Preview with #40211A

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

Preview Lab → · Contrast checker → · Palette generator →

#40211A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva