#40211E#40211E

#40211E is a dark, muted red. Relative luminance 0.023; OKLCH L 28.9% C 0.048 H 26.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#40211E
RGBrgb(64, 33, 30)
HSLhsl(5, 36%, 18%)
HSVhsv(5, 53%, 25%)
CMYKcmyk(0%, 48.4%, 53.1%, 74.9%)
CIE-LABlab(16.85, 14.50, 8.55)
CIE-LCHlch(16.85, 16.83, 30.52°)
OKLaboklab(28.87% 0.0434 0.0215)
OKLCHoklch(28.87% 0.048 26.3)
XYZxyz(2.8927, 2.2717, 1.5142)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40211E #1E3D40
analogous
#401E2C #40211E #40321E
triadic
#40211E #1E4021 #211E40
tetradic
#40211E #2C401E #1E3D40 #321E40
square
#40211E #2C401E #1E3D40 #321E40
split-complementary
#40211E #1E4032 #1E2C40
monochromatic
#150B0A #160C0A #40211E #6A3632 #934C45

Accessibility & contrast

On white

14.44
#40211E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40211E
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40211E#FFFFFF#000000##FFFFFF
##40211E1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261E
Deuteranopia (green-blind)
#2F2C1D
Tritanopia (blue-blind)
#461D20
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #40211e;
/* rgb */ color: rgb(64, 33, 30);
/* oklch */ color: oklch(28.9% 0.048 26.3);
Tailwind
colors: {
  custom: {
    50: '#775d59',
    500: '#40211e',
    950: '#000000',
  },
}
SCSS
$custom: #40211e;
$custom-light: #775d59;
$custom-dark: #000000;
JSON
{
  "hex": "#40211e",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 30
  },
  "hsl": {
    "h": 5.294,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28873,
    "c": 0.04846,
    "h": 26.3
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#40211E
secondary
#457074
accent
#C2CC5C
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090403
muted
#7B7978

Preview Lab

Preview with #40211E

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

Preview Lab → · Contrast checker → · Palette generator →

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