#403231#403231

#403231 is a dark, muted red. Relative luminance 0.036; OKLCH L 33.2% C 0.020 H 23.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#403231
RGBrgb(64, 50, 49)
HSLhsl(4, 13%, 22%)
HSVhsv(4, 23%, 25%)
CMYKcmyk(0%, 21.9%, 23.4%, 74.9%)
CIE-LABlab(22.28, 6.12, 3.03)
CIE-LCHlch(22.28, 6.83, 26.33°)
OKLaboklab(33.23% 0.0188 0.008)
OKLCHoklch(33.23% 0.02 23)
XYZxyz(3.8094, 3.5931, 3.3980)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403231 #313F40
analogous
#403138 #403231 #403A31
triadic
#403231 #314032 #323140
tetradic
#403231 #384031 #313F40 #3A3140
square
#403231 #384031 #313F40 #3A3140
split-complementary
#403231 #31403A #313840
monochromatic
#110E0D #1D1716 #403231 #634D4C #856866

Accessibility & contrast

On white

12.22
#403231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#403231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403231
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403231#FFFFFF#000000##FFFFFF
##4032311.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353431
Deuteranopia (green-blind)
#383631
Tritanopia (blue-blind)
#433132
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403231;
/* rgb */ color: rgb(64, 50, 49);
/* oklch */ color: oklch(33.2% 0.020 23.0);
Tailwind
colors: {
  custom: {
    50: '#756969',
    500: '#403231',
    950: '#000000',
  },
}
SCSS
$custom: #403231;
$custom-light: #756969;
$custom-dark: #000000;
JSON
{
  "hex": "#403231",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 4,
    "s": 13.274,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.02045,
    "h": 23
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#403231
secondary
#5D6F70
accent
#B2B672
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #403231

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

Preview Lab → · Contrast checker → · Palette generator →

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