#40090D#40090D

#40090D is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.083 H 22.2°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#40090D
RGBrgb(64, 9, 13)
HSLhsl(356, 75%, 14%)
HSVhsv(356, 86%, 25%)
CMYKcmyk(0%, 85.9%, 79.7%, 74.9%)
CIE-LABlab(11.38, 26.29, 12.26)
CIE-LCHlch(11.38, 29.01, 25.00°)
OKLaboklab(24.62% 0.0771 0.0315)
OKLCHoklch(24.62% 0.083 22.2)
XYZxyz(2.2849, 1.3148, 0.5142)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40090D #09403C
analogous
#400929 #40090D #402109
triadic
#40090D #0D4009 #090D40
tetradic
#40090D #294009 #09403C #210940
square
#40090D #294009 #09403C #210940
split-complementary
#40090D #094021 #092940
monochromatic
#1B0405 #1B0405 #40090D #761118 #AB1823

Accessibility & contrast

On white

16.63
#40090D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#40090D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40090D
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40090D#FFFFFF#000000##FFFFFF
##40090D1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19170D
Deuteranopia (green-blind)
#27220B
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40090d;
/* rgb */ color: rgb(64, 9, 13);
/* oklch */ color: oklch(24.6% 0.083 22.2);
Tailwind
colors: {
  custom: {
    50: '#7a4e4c',
    500: '#40090d',
    950: '#000000',
  },
}
SCSS
$custom: #40090d;
$custom-light: #7a4e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40090d",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 13
  },
  "hsl": {
    "h": 355.636,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24622,
    "c": 0.0833,
    "h": 22.2
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#40090D
secondary
#277E78
accent
#F2E436
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40090D

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

Preview Lab → · Contrast checker → · Palette generator →

#40090D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva