#402E2A#402E2A

#402E2A is a dark, muted red. Relative luminance 0.032; OKLCH L 32.1% C 0.028 H 32.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#402E2A
RGBrgb(64, 46, 42)
HSLhsl(11, 21%, 21%)
HSVhsv(11, 34%, 25%)
CMYKcmyk(0%, 28.1%, 34.4%, 74.9%)
CIE-LABlab(20.87, 7.57, 5.79)
CIE-LCHlch(20.87, 9.53, 37.44°)
OKLaboklab(32.07% 0.0232 0.015)
OKLCHoklch(32.07% 0.028 32.8)
XYZxyz(3.5093, 3.2113, 2.6250)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E2A #2A3C40
analogous
#402A31 #402E2A #40392A
triadic
#402E2A #2A402E #2E2A40
tetradic
#402E2A #31402A #2A3C40 #392A40
square
#402E2A #31402A #2A3C40 #392A40
split-complementary
#402E2A #2A4039 #2A3140
monochromatic
#120D0C #1B1312 #402E2A #654942 #8A635A

Accessibility & contrast

On white

12.79
#402E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#402E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E2A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E2A#FFFFFF#000000##FFFFFF
##402E2A1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32302A
Deuteranopia (green-blind)
#36342A
Tritanopia (blue-blind)
#442C2D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402e2a;
/* rgb */ color: rgb(64, 46, 42);
/* oklch */ color: oklch(32.1% 0.028 32.8);
Tailwind
colors: {
  custom: {
    50: '#756663',
    500: '#402e2a',
    950: '#000000',
  },
}
SCSS
$custom: #402e2a;
$custom-light: #756663;
$custom-dark: #000000;
JSON
{
  "hex": "#402e2a",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 10.909,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32072,
    "c": 0.02764,
    "h": 32.8
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#402E2A
secondary
#556C71
accent
#AEBD6A
background
#F7F6F5
surface
#EDEBEA
border
#C8C6C6
text
#080605
muted
#7B7A79

Preview Lab

Preview with #402E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#402E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva