#40201A#40201A

#40201A is a dark, muted red. Relative luminance 0.022; OKLCH L 28.6% C 0.051 H 31.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#40201A
RGBrgb(64, 32, 26)
HSLhsl(9, 42%, 18%)
HSVhsv(9, 59%, 25%)
CMYKcmyk(0%, 50%, 59.4%, 74.9%)
CIE-LABlab(16.49, 14.69, 10.87)
CIE-LCHlch(16.49, 18.27, 36.51°)
OKLaboklab(28.57% 0.0435 0.0268)
OKLCHoklch(28.57% 0.051 31.7)
XYZxyz(2.8175, 2.1979, 1.2529)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40201A #1A3A40
analogous
#401A27 #40201A #40331A
triadic
#40201A #1A4020 #201A40
tetradic
#40201A #27401A #1A3A40 #331A40
square
#40201A #27401A #1A3A40 #331A40
split-complementary
#40201A #1A4033 #1A2740
monochromatic
#160B09 #160B09 #40201A #6C362C #974C3D

Accessibility & contrast

On white

14.59
#40201A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#40201A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40201A
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40201A#FFFFFF#000000##FFFFFF
##40201A1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282519
Deuteranopia (green-blind)
#2F2B19
Tritanopia (blue-blind)
#461B1F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40201a;
/* rgb */ color: rgb(64, 32, 26);
/* oklch */ color: oklch(28.6% 0.051 31.7);
Tailwind
colors: {
  custom: {
    50: '#775c56',
    500: '#40201a',
    950: '#000000',
  },
}
SCSS
$custom: #40201a;
$custom-light: #775c56;
$custom-dark: #000000;
JSON
{
  "hex": "#40201a",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 26
  },
  "hsl": {
    "h": 9.474,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28567,
    "c": 0.05105,
    "h": 31.7
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#40201A
secondary
#406D76
accent
#BED256
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090403
muted
#7B7978

Preview Lab

Preview with #40201A

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

Preview Lab → · Contrast checker → · Palette generator →

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