#40090E#40090E

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

Color values

HEX#40090E
RGBrgb(64, 9, 14)
HSLhsl(355, 75%, 14%)
HSVhsv(355, 86%, 25%)
CMYKcmyk(0%, 85.9%, 78.1%, 74.9%)
CIE-LABlab(11.40, 26.36, 11.80)
CIE-LCHlch(11.40, 28.88, 24.11°)
OKLaboklab(24.64% 0.0776 0.0302)
OKLCHoklch(24.64% 0.083 21.2)
XYZxyz(2.2916, 1.3174, 0.5490)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40090E #09403B
analogous
#40092A #40090E #402009
triadic
#40090E #0E4009 #090E40
tetradic
#40090E #2A4009 #09403B #200940
square
#40090E #2A4009 #09403B #200940
split-complementary
#40090E #094020 #092A40
monochromatic
#1B0406 #1B0406 #40090E #76111A #AB1825

Accessibility & contrast

On white

16.62
#40090E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40090E
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40090E#FFFFFF#000000##FFFFFF
##40090E1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19170E
Deuteranopia (green-blind)
#27230C
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40090e;
/* rgb */ color: rgb(64, 9, 14);
/* oklch */ color: oklch(24.6% 0.083 21.2);
Tailwind
colors: {
  custom: {
    50: '#7a4e4d',
    500: '#40090e',
    950: '#000000',
  },
}
SCSS
$custom: #40090e;
$custom-light: #7a4e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40090e",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 14
  },
  "hsl": {
    "h": 354.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24642,
    "c": 0.08322,
    "h": 21.2
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#40090E
secondary
#277E76
accent
#F2E136
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40090E

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

Preview Lab → · Contrast checker → · Palette generator →

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