#40080A#40080A

#40080A is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.085 H 24.4°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#40080A
RGBrgb(64, 8, 10)
HSLhsl(358, 78%, 14%)
HSVhsv(358, 88%, 25%)
CMYKcmyk(0%, 87.5%, 84.4%, 74.9%)
CIE-LABlab(11.18, 26.56, 13.31)
CIE-LCHlch(11.18, 29.71, 26.62°)
OKLaboklab(24.46% 0.0771 0.035)
OKLCHoklch(24.46% 0.085 24.4)
XYZxyz(2.2562, 1.2859, 0.4165)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40080A #08403E
analogous
#400826 #40080A #402208
triadic
#40080A #0A4008 #080A40
tetradic
#40080A #264008 #08403E #220840
square
#40080A #264008 #08403E #220840
split-complementary
#40080A #084022 #082640
monochromatic
#1B0304 #1B0304 #40080A #760F13 #AD161B

Accessibility & contrast

On white

16.70
#40080A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#40080A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40080A
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40080A#FFFFFF#000000##FFFFFF
##40080A1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191609
Deuteranopia (green-blind)
#272208
Tritanopia (blue-blind)
#470009
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40080a;
/* rgb */ color: rgb(64, 8, 10);
/* oklch */ color: oklch(24.5% 0.085 24.4);
Tailwind
colors: {
  custom: {
    50: '#7a4d4b',
    500: '#40080a',
    950: '#000000',
  },
}
SCSS
$custom: #40080a;
$custom-light: #7a4d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#40080a",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 10
  },
  "hsl": {
    "h": 357.857,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24456,
    "c": 0.08473,
    "h": 24.4
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#40080A
secondary
#257E7B
accent
#F4ED34
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40080A

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

Preview Lab → · Contrast checker → · Palette generator →

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