#403134#403134

#403134 is a dark, muted red. Relative luminance 0.035; OKLCH L 33.1% C 0.022 H 4.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#403134
RGBrgb(64, 49, 52)
HSLhsl(348, 13%, 22%)
HSVhsv(348, 23%, 25%)
CMYKcmyk(0%, 23.4%, 18.8%, 74.9%)
CIE-LABlab(22.07, 7.36, 0.69)
CIE-LCHlch(22.07, 7.40, 5.36°)
OKLaboklab(33.1% 0.0222 0.0019)
OKLCHoklch(33.1% 0.022 4.9)
XYZxyz(3.8325, 3.5347, 3.7285)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403134 #31403D
analogous
#40313C #403134 #403631
triadic
#403134 #344031 #313440
tetradic
#403134 #3C4031 #31403D #363140
square
#403134 #3C4031 #31403D #363140
split-complementary
#403134 #314036 #313C40
monochromatic
#110D0E #1D1618 #403134 #634C50 #85666C

Accessibility & contrast

On white

12.30
#403134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#403134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403134
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403134#FFFFFF#000000##FFFFFF
##4031341.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333334
Deuteranopia (green-blind)
#363634
Tritanopia (blue-blind)
#433032
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403134;
/* rgb */ color: rgb(64, 49, 52);
/* oklch */ color: oklch(33.1% 0.022 4.9);
Tailwind
colors: {
  custom: {
    50: '#75696b',
    500: '#403134',
    950: '#000000',
  },
}
SCSS
$custom: #403134;
$custom-light: #75696b;
$custom-dark: #000000;
JSON
{
  "hex": "#403134",
  "rgb": {
    "r": 64,
    "g": 49,
    "b": 52
  },
  "hsl": {
    "h": 348,
    "s": 13.274,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33099,
    "c": 0.02226,
    "h": 4.9
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#403134
secondary
#5D706C
accent
#B6A872
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #403134

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

Preview Lab → · Contrast checker → · Palette generator →

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