#402C2C#402C2C

#402C2C is a dark, muted red. Relative luminance 0.031; OKLCH L 31.7% C 0.030 H 18.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#402C2C
RGBrgb(64, 44, 44)
HSLhsl(0, 19%, 21%)
HSVhsv(0, 31%, 25%)
CMYKcmyk(0%, 31.2%, 31.2%, 74.9%)
CIE-LABlab(20.34, 9.25, 3.66)
CIE-LCHlch(20.34, 9.95, 21.62°)
OKLaboklab(31.68% 0.0282 0.0096)
OKLCHoklch(31.68% 0.03 18.9)
XYZxyz(3.4697, 3.0734, 2.7928)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402C2C #2C4040
analogous
#402C36 #402C2C #40362C
triadic
#402C2C #2C402C #2C2C40
tetradic
#402C2C #36402C #2C4040 #362C40
square
#402C2C #36402C #2C4040 #362C40
split-complementary
#402C2C #2C4036 #2C3640
monochromatic
#120C0C #1C1313 #402C2C #644545 #895E5E

Accessibility & contrast

On white

13.01
#402C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#402C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402C2C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402C2C#FFFFFF#000000##FFFFFF
##402C2C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2C
Deuteranopia (green-blind)
#34322C
Tritanopia (blue-blind)
#442A2C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #402c2c;
/* rgb */ color: rgb(64, 44, 44);
/* oklch */ color: oklch(31.7% 0.030 18.9);
Tailwind
colors: {
  custom: {
    50: '#756565',
    500: '#402c2c',
    950: '#000000',
  },
}
SCSS
$custom: #402c2c;
$custom-light: #756565;
$custom-dark: #000000;
JSON
{
  "hex": "#402c2c",
  "rgb": {
    "r": 64,
    "g": 44,
    "b": 44
  },
  "hsl": {
    "h": 0,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.02978,
    "h": 18.9
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#402C2C
secondary
#577171
accent
#BBBB6D
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080505
muted
#7B7A7A

Preview Lab

Preview with #402C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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