#40282C#40282C

#40282C is a dark, muted red. Relative luminance 0.028; OKLCH L 30.8% C 0.037 H 8.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#40282C
RGBrgb(64, 40, 44)
HSLhsl(350, 23%, 20%)
HSVhsv(350, 38%, 25%)
CMYKcmyk(0%, 37.5%, 31.2%, 74.9%)
CIE-LABlab(19.18, 11.93, 2.01)
CIE-LCHlch(19.18, 12.10, 9.55°)
OKLaboklab(30.79% 0.0362 0.0054)
OKLCHoklch(30.79% 0.037 8.5)
XYZxyz(3.3278, 2.7896, 2.7456)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40282C #28403C
analogous
#402838 #40282C #403028
triadic
#40282C #2C4028 #282C40
tetradic
#40282C #384028 #28403C #302840
square
#40282C #384028 #28403C #302840
split-complementary
#40282C #284030 #283840
monochromatic
#130C0D #1A1012 #40282C #664046 #8B5760

Accessibility & contrast

On white

13.48
#40282C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40282C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40282C#FFFFFF#000000##FFFFFF
##40282C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2C
Deuteranopia (green-blind)
#32302C
Tritanopia (blue-blind)
#442629
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #40282c;
/* rgb */ color: rgb(64, 40, 44);
/* oklch */ color: oklch(30.8% 0.037 8.5);
Tailwind
colors: {
  custom: {
    50: '#756265',
    500: '#40282c',
    950: '#000000',
  },
}
SCSS
$custom: #40282c;
$custom-light: #756265;
$custom-dark: #000000;
JSON
{
  "hex": "#40282c",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 350,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30787,
    "c": 0.03655,
    "h": 8.5
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#40282C
secondary
#52726C
accent
#C0B168
background
#F7F5F6
surface
#EDEAEB
border
#C8C6C6
text
#080505
muted
#7B797A

Preview Lab

Preview with #40282C

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

Preview Lab → · Contrast checker → · Palette generator →

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