#402824#402824

#402824 is a dark, muted red. Relative luminance 0.027; OKLCH L 30.5% C 0.037 H 29.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#402824
RGBrgb(64, 40, 36)
HSLhsl(9, 28%, 20%)
HSVhsv(9, 44%, 25%)
CMYKcmyk(0%, 37.5%, 43.8%, 74.9%)
CIE-LABlab(18.95, 10.66, 7.24)
CIE-LCHlch(18.95, 12.89, 34.18°)
OKLaboklab(30.53% 0.0323 0.0185)
OKLCHoklch(30.53% 0.037 29.8)
XYZxyz(3.1917, 2.7352, 2.0286)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402824 #243C40
analogous
#40242E #402824 #403624
triadic
#402824 #244028 #282440
tetradic
#402824 #2E4024 #243C40 #362440
square
#402824 #2E4024 #243C40 #362440
split-complementary
#402824 #244036 #242E40
monochromatic
#140C0B #19100E #402824 #67403A #8E5950

Accessibility & contrast

On white

13.57
#402824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#402824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402824
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402824#FFFFFF#000000##FFFFFF
##4028241.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B24
Deuteranopia (green-blind)
#333024
Tritanopia (blue-blind)
#452527
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402824;
/* rgb */ color: rgb(64, 40, 36);
/* oklch */ color: oklch(30.5% 0.037 29.8);
Tailwind
colors: {
  custom: {
    50: '#76625e',
    500: '#402824',
    950: '#000000',
  },
}
SCSS
$custom: #402824;
$custom-light: #76625e;
$custom-dark: #000000;
JSON
{
  "hex": "#402824",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 36
  },
  "hsl": {
    "h": 8.571,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30534,
    "c": 0.03719,
    "h": 29.8
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#402824
secondary
#4D6D73
accent
#B6C463
background
#F7F5F5
surface
#EDEAE9
border
#C8C6C5
text
#080504
muted
#7B7979

Preview Lab

Preview with #402824

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

Preview Lab → · Contrast checker → · Palette generator →

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