#403434#403434

#403434 is a dark, near-neutral red. Relative luminance 0.038; OKLCH L 33.8% C 0.017 H 18.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#403434
RGBrgb(64, 52, 52)
HSLhsl(0, 10%, 23%)
HSVhsv(0, 19%, 25%)
CMYKcmyk(0%, 18.8%, 18.8%, 74.9%)
CIE-LABlab(22.98, 5.36, 2.01)
CIE-LCHlch(22.98, 5.72, 20.54°)
OKLaboklab(33.81% 0.0164 0.0053)
OKLCHoklch(33.81% 0.017 18)
XYZxyz(3.9622, 3.7940, 3.7718)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403434 #344040
analogous
#40343A #403434 #403A34
triadic
#403434 #344034 #343440
tetradic
#403434 #3A4034 #344040 #3A3440
square
#403434 #3A4034 #344040 #3A3440
split-complementary
#403434 #34403A #343A40
monochromatic
#110E0E #1E1919 #403434 #624F4F #846B6B

Accessibility & contrast

On white

11.94
#403434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#403434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403434
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403434#FFFFFF#000000##FFFFFF
##4034341.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363634
Deuteranopia (green-blind)
#393834
Tritanopia (blue-blind)
#433334
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403434;
/* rgb */ color: rgb(64, 52, 52);
/* oklch */ color: oklch(33.8% 0.017 18.0);
Tailwind
colors: {
  custom: {
    50: '#756b6b',
    500: '#403434',
    950: '#000000',
  },
}
SCSS
$custom: #403434;
$custom-light: #756b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#403434",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 52
  },
  "hsl": {
    "h": 0,
    "s": 10.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33806,
    "c": 0.01726,
    "h": 18
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#403434
secondary
#606F6F
accent
#B3B375
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #403434

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

Preview Lab → · Contrast checker → · Palette generator →

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