#402E2D#402E2D

#402E2D is a dark, muted red. Relative luminance 0.032; OKLCH L 32.2% C 0.027 H 22.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#402E2D
RGBrgb(64, 46, 45)
HSLhsl(3, 17%, 21%)
HSVhsv(3, 30%, 25%)
CMYKcmyk(0%, 28.1%, 29.7%, 74.9%)
CIE-LABlab(20.96, 8.08, 3.86)
CIE-LCHlch(20.96, 8.95, 25.56°)
OKLaboklab(32.17% 0.0247 0.0101)
OKLCHoklch(32.17% 0.027 22.3)
XYZxyz(3.5651, 3.2336, 2.9185)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E2D #2D3F40
analogous
#402D36 #402E2D #40382D
triadic
#402E2D #2D402E #2E2D40
tetradic
#402E2D #36402D #2D3F40 #382D40
square
#402E2D #36402D #2D3F40 #382D40
split-complementary
#402E2D #2D4038 #2D3640
monochromatic
#120D0D #1C1414 #402E2D #644846 #886260

Accessibility & contrast

On white

12.75
#402E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#402E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E2D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E2D#FFFFFF#000000##FFFFFF
##402E2D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31302D
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#442C2E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402e2d;
/* rgb */ color: rgb(64, 46, 45);
/* oklch */ color: oklch(32.2% 0.027 22.3);
Tailwind
colors: {
  custom: {
    50: '#756665',
    500: '#402e2d',
    950: '#000000',
  },
}
SCSS
$custom: #402e2d;
$custom-light: #756665;
$custom-dark: #000000;
JSON
{
  "hex": "#402e2d",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 3.158,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32166,
    "c": 0.0267,
    "h": 22.3
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#402E2D
secondary
#586F71
accent
#B6BA6E
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080605
muted
#7B7A7A

Preview Lab

Preview with #402E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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