#401009#401009

#401009 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.4% C 0.076 H 31.1°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#401009
RGBrgb(64, 16, 9)
HSLhsl(8, 75%, 14%)
HSVhsv(8, 86%, 25%)
CMYKcmyk(0%, 75%, 85.9%, 74.9%)
CIE-LABlab(12.48, 22.87, 15.51)
CIE-LCHlch(12.48, 27.63, 34.15°)
OKLaboklab(25.43% 0.0653 0.0394)
OKLCHoklch(25.43% 0.076 31.1)
XYZxyz(2.3492, 1.4806, 0.4205)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401009 #093940
analogous
#40091E #401009 #402C09
triadic
#401009 #094010 #100940
tetradic
#401009 #1E4009 #093940 #2C0940
square
#401009 #1E4009 #093940 #2C0940
split-complementary
#401009 #09402C #091E40
monochromatic
#1B0704 #1B0704 #401009 #761D11 #AB2B18

Accessibility & contrast

On white

16.20
#401009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#401009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401009
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401009#FFFFFF#000000##FFFFFF
##4010091.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A08
Deuteranopia (green-blind)
#2A2407
Tritanopia (blue-blind)
#47040F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #401009;
/* rgb */ color: rgb(64, 16, 9);
/* oklch */ color: oklch(25.4% 0.076 31.1);
Tailwind
colors: {
  custom: {
    50: '#7a514a',
    500: '#401009',
    950: '#000000',
  },
}
SCSS
$custom: #401009;
$custom-light: #7a514a;
$custom-dark: #000000;
JSON
{
  "hex": "#401009",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 9
  },
  "hsl": {
    "h": 7.636,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25429,
    "c": 0.07625,
    "h": 31.1
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#401009
secondary
#27737E
accent
#DAF236
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401009

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

Preview Lab → · Contrast checker → · Palette generator →

#401009 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva