#403034#403034

#403034 is a dark, muted red. Relative luminance 0.035; OKLCH L 32.9% C 0.024 H 1.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#403034
RGBrgb(64, 48, 52)
HSLhsl(345, 14%, 22%)
HSVhsv(345, 25%, 25%)
CMYKcmyk(0%, 25%, 18.8%, 74.9%)
CIE-LABlab(21.77, 8.03, 0.25)
CIE-LCHlch(21.77, 8.04, 1.82°)
OKLaboklab(32.87% 0.0241 0.0008)
OKLCHoklch(32.87% 0.024 1.9)
XYZxyz(3.7911, 3.4520, 3.7147)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403034 #30403C
analogous
#40303C #403034 #403430
triadic
#403034 #344030 #303440
tetradic
#403034 #3C4030 #30403C #343040
square
#403034 #3C4030 #30403C #343040
split-complementary
#403034 #304034 #303C40
monochromatic
#110D0E #1D1618 #403034 #634A50 #86646D

Accessibility & contrast

On white

12.42
#403034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#403034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403034
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403034#FFFFFF#000000##FFFFFF
##4030341.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323334
Deuteranopia (green-blind)
#363534
Tritanopia (blue-blind)
#432F31
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #403034;
/* rgb */ color: rgb(64, 48, 52);
/* oklch */ color: oklch(32.9% 0.024 1.9);
Tailwind
colors: {
  custom: {
    50: '#75686b',
    500: '#403034',
    950: '#000000',
  },
}
SCSS
$custom: #403034;
$custom-light: #75686b;
$custom-dark: #000000;
JSON
{
  "hex": "#403034",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 52
  },
  "hsl": {
    "h": 345,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32868,
    "c": 0.02413,
    "h": 1.9
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#403034
secondary
#5C706B
accent
#B7A571
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #403034

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

Preview Lab → · Contrast checker → · Palette generator →

#403034 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva