#400915#400915

#400915 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.8% C 0.083 H 13.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#400915
RGBrgb(64, 9, 21)
HSLhsl(347, 75%, 14%)
HSVhsv(347, 86%, 25%)
CMYKcmyk(0%, 85.9%, 67.2%, 74.9%)
CIE-LABlab(11.55, 26.86, 7.84)
CIE-LCHlch(11.55, 27.98, 16.27°)
OKLaboklab(24.81% 0.0809 0.0195)
OKLCHoklch(24.81% 0.083 13.6)
XYZxyz(2.3476, 1.3398, 0.8443)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400915 #094034
analogous
#400931 #400915 #401909
triadic
#400915 #154009 #091540
tetradic
#400915 #314009 #094034 #190940
square
#400915 #314009 #094034 #190940
split-complementary
#400915 #094019 #093140
monochromatic
#1B0409 #1B0409 #400915 #761127 #AB1838

Accessibility & contrast

On white

16.56
#400915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400915
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400915#FFFFFF#000000##FFFFFF
##4009151.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181715
Deuteranopia (green-blind)
#262314
Tritanopia (blue-blind)
#47000E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400915;
/* rgb */ color: rgb(64, 9, 21);
/* oklch */ color: oklch(24.8% 0.083 13.6);
Tailwind
colors: {
  custom: {
    50: '#794e52',
    500: '#400915',
    950: '#000000',
  },
}
SCSS
$custom: #400915;
$custom-light: #794e52;
$custom-dark: #000000;
JSON
{
  "hex": "#400915",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 21
  },
  "hsl": {
    "h": 346.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24806,
    "c": 0.08319,
    "h": 13.6
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#400915
secondary
#277E6B
accent
#F2C936
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400915

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

Preview Lab → · Contrast checker → · Palette generator →

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