#402E2C#402E2C

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

Color values

HEX#402E2C
RGBrgb(64, 46, 44)
HSLhsl(6, 19%, 21%)
HSVhsv(6, 31%, 25%)
CMYKcmyk(0%, 28.1%, 31.2%, 74.9%)
CIE-LABlab(20.93, 7.90, 4.51)
CIE-LCHlch(20.93, 9.10, 29.69°)
OKLaboklab(32.13% 0.0242 0.0118)
OKLCHoklch(32.13% 0.027 25.9)
XYZxyz(3.5460, 3.2260, 2.8183)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E2C #2C3E40
analogous
#402C34 #402E2C #40382C
triadic
#402E2C #2C402E #2E2C40
tetradic
#402E2C #34402C #2C3E40 #382C40
square
#402E2C #34402C #2C3E40 #382C40
split-complementary
#402E2C #2C4038 #2C3440
monochromatic
#120D0C #1C1413 #402E2C #644845 #89625E

Accessibility & contrast

On white

12.76
#402E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402E2C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E2C#FFFFFF#000000##FFFFFF
##402E2C1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402e2c;
/* rgb */ color: rgb(64, 46, 44);
/* oklch */ color: oklch(32.1% 0.027 25.9);
Tailwind
colors: {
  custom: {
    50: '#756665',
    500: '#402e2c',
    950: '#000000',
  },
}
SCSS
$custom: #402e2c;
$custom-light: #756665;
$custom-dark: #000000;
JSON
{
  "hex": "#402e2c",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 6,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32134,
    "c": 0.02692,
    "h": 25.9
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#402E2C
secondary
#576E71
accent
#B3BB6D
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080605
muted
#7B7A7A

Preview Lab

Preview with #402E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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