#40211C#40211C

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

Color values

HEX#40211C
RGBrgb(64, 33, 28)
HSLhsl(8, 39%, 18%)
HSVhsv(8, 56%, 25%)
CMYKcmyk(0%, 48.4%, 56.2%, 74.9%)
CIE-LABlab(16.81, 14.26, 9.89)
CIE-LCHlch(16.81, 17.35, 34.73°)
OKLaboklab(28.82% 0.0424 0.0246)
OKLCHoklch(28.82% 0.049 30.1)
XYZxyz(2.8680, 2.2618, 1.3839)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40211C #1C3B40
analogous
#401C29 #40211C #40331C
triadic
#40211C #1C4021 #211C40
tetradic
#40211C #29401C #1C3B40 #331C40
square
#40211C #29401C #1C3B40 #331C40
split-complementary
#40211C #1C4033 #1C2940
monochromatic
#150B09 #150B09 #40211C #6B372F #954D41

Accessibility & contrast

On white

14.46
#40211C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40211C
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40211C#FFFFFF#000000##FFFFFF
##40211C1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261C
Deuteranopia (green-blind)
#302C1C
Tritanopia (blue-blind)
#461C20
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40211c;
/* rgb */ color: rgb(64, 33, 28);
/* oklch */ color: oklch(28.8% 0.049 30.1);
Tailwind
colors: {
  custom: {
    50: '#775c58',
    500: '#40211c',
    950: '#000000',
  },
}
SCSS
$custom: #40211c;
$custom-light: #775c58;
$custom-dark: #000000;
JSON
{
  "hex": "#40211c",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 28
  },
  "hsl": {
    "h": 8.333,
    "s": 39.13,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28821,
    "c": 0.04905,
    "h": 30.1
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#40211C
secondary
#436E75
accent
#BFCF59
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090403
muted
#7B7978

Preview Lab

Preview with #40211C

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

Preview Lab → · Contrast checker → · Palette generator →

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