#40211D#40211D

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

Color values

HEX#40211D
RGBrgb(64, 33, 29)
HSLhsl(7, 38%, 18%)
HSVhsv(7, 55%, 25%)
CMYKcmyk(0%, 48.4%, 54.7%, 74.9%)
CIE-LABlab(16.83, 14.38, 9.22)
CIE-LCHlch(16.83, 17.08, 32.66°)
OKLaboklab(28.85% 0.0429 0.0231)
OKLCHoklch(28.85% 0.049 28.2)
XYZxyz(2.8802, 2.2667, 1.4480)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40211D #1D3C40
analogous
#401D2A #40211D #40321D
triadic
#40211D #1D4021 #211D40
tetradic
#40211D #2A401D #1D3C40 #321D40
square
#40211D #2A401D #1D3C40 #321D40
split-complementary
#40211D #1D4032 #1D2A40
monochromatic
#150B0A #160B0A #40211D #6A3730 #944C43

Accessibility & contrast

On white

14.45
#40211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40211D
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40211D#FFFFFF#000000##FFFFFF
##40211D1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#461D20
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #40211d;
/* rgb */ color: rgb(64, 33, 29);
/* oklch */ color: oklch(28.8% 0.049 28.2);
Tailwind
colors: {
  custom: {
    50: '#775c58',
    500: '#40211d',
    950: '#000000',
  },
}
SCSS
$custom: #40211d;
$custom-light: #775c58;
$custom-dark: #000000;
JSON
{
  "hex": "#40211d",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 6.857,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28847,
    "c": 0.04873,
    "h": 28.2
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#40211D
secondary
#446F75
accent
#C0CE5A
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090403
muted
#7B7978

Preview Lab

Preview with #40211D

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

Preview Lab → · Contrast checker → · Palette generator →

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