#402F2E#402F2E

#402F2E is a dark, muted red. Relative luminance 0.033; OKLCH L 32.4% C 0.025 H 22.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#402F2E
RGBrgb(64, 47, 46)
HSLhsl(3, 16%, 22%)
HSVhsv(3, 28%, 25%)
CMYKcmyk(0%, 26.6%, 28.1%, 74.9%)
CIE-LABlab(21.28, 7.58, 3.65)
CIE-LCHlch(21.28, 8.41, 25.68°)
OKLaboklab(32.43% 0.0232 0.0096)
OKLCHoklch(32.43% 0.025 22.4)
XYZxyz(3.6241, 3.3204, 3.0343)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402F2E #2E3F40
analogous
#402E36 #402F2E #40382E
triadic
#402F2E #2E402F #2F2E40
tetradic
#402F2E #36402E #2E3F40 #382E40
square
#402F2E #36402E #2E3F40 #382E40
split-complementary
#402F2E #2E4038 #2E3640
monochromatic
#120D0D #1C1514 #402F2E #644948 #876361

Accessibility & contrast

On white

12.62
#402F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#402F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402F2E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402F2E#FFFFFF#000000##FFFFFF
##402F2E1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312E
Deuteranopia (green-blind)
#36342E
Tritanopia (blue-blind)
#442D2F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #402f2e;
/* rgb */ color: rgb(64, 47, 46);
/* oklch */ color: oklch(32.4% 0.025 22.4);
Tailwind
colors: {
  custom: {
    50: '#756766',
    500: '#402f2e',
    950: '#000000',
  },
}
SCSS
$custom: #402f2e;
$custom-light: #756766;
$custom-dark: #000000;
JSON
{
  "hex": "#402f2e",
  "rgb": {
    "r": 64,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 3.333,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32429,
    "c": 0.02512,
    "h": 22.4
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#402F2E
secondary
#596F70
accent
#B5B96F
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #402F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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