#40211B#40211B

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

Color values

HEX#40211B
RGBrgb(64, 33, 27)
HSLhsl(10, 41%, 18%)
HSVhsv(10, 58%, 25%)
CMYKcmyk(0%, 48.4%, 57.8%, 74.9%)
CIE-LABlab(16.78, 14.14, 10.55)
CIE-LCHlch(16.78, 17.65, 36.73°)
OKLaboklab(28.8% 0.042 0.0261)
OKLCHoklch(28.8% 0.049 31.9)
XYZxyz(2.8562, 2.2571, 1.3219)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40211B #1B3A40
analogous
#401B27 #40211B #40331B
triadic
#40211B #1B4021 #211B40
tetradic
#40211B #27401B #1B3A40 #331B40
square
#40211B #27401B #1B3A40 #331B40
split-complementary
#40211B #1B4033 #1B2740
monochromatic
#160B09 #160B09 #40211B #6B372D #964D3F

Accessibility & contrast

On white

14.47
#40211B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40211B
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40211B#FFFFFF#000000##FFFFFF
##40211B1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#302C1B
Tritanopia (blue-blind)
#461C20
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40211b;
/* rgb */ color: rgb(64, 33, 27);
/* oklch */ color: oklch(28.8% 0.049 31.9);
Tailwind
colors: {
  custom: {
    50: '#775c57',
    500: '#40211b',
    950: '#000000',
  },
}
SCSS
$custom: #40211b;
$custom-light: #775c57;
$custom-dark: #000000;
JSON
{
  "hex": "#40211b",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 27
  },
  "hsl": {
    "h": 9.73,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28796,
    "c": 0.04941,
    "h": 31.9
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#40211B
secondary
#416D75
accent
#BDD157
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090403
muted
#7B7978

Preview Lab

Preview with #40211B

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

Preview Lab → · Contrast checker → · Palette generator →

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