#40282A#40282A

#40282A is a dark, muted red. Relative luminance 0.028; OKLCH L 30.7% C 0.036 H 13.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#40282A
RGBrgb(64, 40, 42)
HSLhsl(355, 23%, 20%)
HSVhsv(355, 38%, 25%)
CMYKcmyk(0%, 37.5%, 34.4%, 74.9%)
CIE-LABlab(19.12, 11.59, 3.31)
CIE-LCHlch(19.12, 12.06, 15.94°)
OKLaboklab(30.72% 0.0352 0.0087)
OKLCHoklch(30.72% 0.036 13.9)
XYZxyz(3.2912, 2.7750, 2.5523)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40282A #28403E
analogous
#402836 #40282A #403228
triadic
#40282A #2A4028 #282A40
tetradic
#40282A #364028 #28403E #322840
square
#40282A #364028 #28403E #322840
split-complementary
#40282A #284032 #283640
monochromatic
#130C0C #1A1011 #40282A #664043 #8B575B

Accessibility & contrast

On white

13.50
#40282A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#40282A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40282A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40282A#FFFFFF#000000##FFFFFF
##40282A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2A
Deuteranopia (green-blind)
#32302A
Tritanopia (blue-blind)
#442629
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #40282a;
/* rgb */ color: rgb(64, 40, 42);
/* oklch */ color: oklch(30.7% 0.036 13.9);
Tailwind
colors: {
  custom: {
    50: '#766263',
    500: '#40282a',
    950: '#000000',
  },
}
SCSS
$custom: #40282a;
$custom-light: #766263;
$custom-dark: #000000;
JSON
{
  "hex": "#40282a",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 355,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30719,
    "c": 0.03627,
    "h": 13.9
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#40282A
secondary
#52726F
accent
#C0B868
background
#F7F5F5
surface
#EDEAEA
border
#C8C6C6
text
#080505
muted
#7B7979

Preview Lab

Preview with #40282A

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

Preview Lab → · Contrast checker → · Palette generator →

#40282A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva