#40090A#40090A

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

Color values

HEX#40090A
RGBrgb(64, 9, 10)
HSLhsl(359, 75%, 14%)
HSVhsv(359, 86%, 25%)
CMYKcmyk(0%, 85.9%, 84.4%, 74.9%)
CIE-LABlab(11.33, 26.13, 13.52)
CIE-LCHlch(11.33, 29.42, 27.36°)
OKLaboklab(24.57% 0.0758 0.0354)
OKLCHoklch(24.57% 0.084 25)
XYZxyz(2.2671, 1.3076, 0.4201)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40090A #09403F
analogous
#400926 #40090A #402409
triadic
#40090A #0A4009 #090A40
tetradic
#40090A #264009 #09403F #240940
square
#40090A #264009 #09403F #240940
split-complementary
#40090A #094024 #092640
monochromatic
#1B0404 #1B0404 #40090A #761112 #AB181B

Accessibility & contrast

On white

16.65
#40090A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40090A
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40090A#FFFFFF#000000##FFFFFF
##40090A1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1709
Deuteranopia (green-blind)
#272208
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40090a;
/* rgb */ color: rgb(64, 9, 10);
/* oklch */ color: oklch(24.6% 0.084 25.0);
Tailwind
colors: {
  custom: {
    50: '#7a4e4b',
    500: '#40090a',
    950: '#000000',
  },
}
SCSS
$custom: #40090a;
$custom-light: #7a4e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#40090a",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 10
  },
  "hsl": {
    "h": 358.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24569,
    "c": 0.08365,
    "h": 25
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#40090A
secondary
#277E7C
accent
#F2EF36
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40090A

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

Preview Lab → · Contrast checker → · Palette generator →

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