#40322F#40322F

#40322F is a dark, muted red. Relative luminance 0.036; OKLCH L 33.2% C 0.021 H 32.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#40322F
RGBrgb(64, 50, 47)
HSLhsl(11, 15%, 22%)
HSVhsv(11, 27%, 25%)
CMYKcmyk(0%, 21.9%, 26.6%, 74.9%)
CIE-LABlab(22.22, 5.75, 4.30)
CIE-LCHlch(22.22, 7.18, 36.78°)
OKLaboklab(33.17% 0.0178 0.0112)
OKLCHoklch(33.17% 0.021 32.2)
XYZxyz(3.7681, 3.5766, 3.1806)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40322F #2F3D40
analogous
#402F35 #40322F #403B2F
triadic
#40322F #2F4032 #322F40
tetradic
#40322F #35402F #2F3D40 #3B2F40
square
#40322F #35402F #2F3D40 #3B2F40
split-complementary
#40322F #2F403B #2F3540
monochromatic
#120E0D #1D1615 #40322F #634E49 #876963

Accessibility & contrast

On white

12.24
#40322F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#40322F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40322F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40322F#FFFFFF#000000##FFFFFF
##40322F1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#433031
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #40322f;
/* rgb */ color: rgb(64, 50, 47);
/* oklch */ color: oklch(33.2% 0.021 32.2);
Tailwind
colors: {
  custom: {
    50: '#756967',
    500: '#40322f',
    950: '#000000',
  },
}
SCSS
$custom: #40322f;
$custom-light: #756967;
$custom-dark: #000000;
JSON
{
  "hex": "#40322f",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 47
  },
  "hsl": {
    "h": 10.588,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.02108,
    "h": 32.2
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#40322F
secondary
#5B6C70
accent
#ABB870
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #40322F

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

Preview Lab → · Contrast checker → · Palette generator →

#40322F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva