#401515#401515

#401515 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.4% C 0.067 H 22.9°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#401515
RGBrgb(64, 21, 21)
HSLhsl(0, 51%, 17%)
HSVhsv(0, 67%, 25%)
CMYKcmyk(0%, 67.2%, 67.2%, 74.9%)
CIE-LABlab(13.71, 20.98, 10.76)
CIE-LCHlch(13.71, 23.57, 27.15°)
OKLaboklab(26.42% 0.0621 0.0262)
OKLCHoklch(26.42% 0.067 22.9)
XYZxyz(2.5181, 1.6808, 0.9011)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401515 #154040
analogous
#40152B #401515 #402B15
triadic
#401515 #154015 #151540
tetradic
#401515 #2B4015 #154040 #2B1540
square
#401515 #2B4015 #154040 #2B1540
split-complementary
#401515 #15402B #152B40
monochromatic
#170808 #170808 #401515 #6E2424 #9C3333

Accessibility & contrast

On white

15.72
#401515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401515
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401515#FFFFFF#000000##FFFFFF
##4015151.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D15
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#470D15
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401515;
/* rgb */ color: rgb(64, 21, 21);
/* oklch */ color: oklch(26.4% 0.067 22.9);
Tailwind
colors: {
  custom: {
    50: '#785452',
    500: '#401515',
    950: '#000000',
  },
}
SCSS
$custom: #401515;
$custom-light: #785452;
$custom-dark: #000000;
JSON
{
  "hex": "#401515",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 21
  },
  "hsl": {
    "h": 0,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26422,
    "c": 0.06744,
    "h": 22.9
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#401515
secondary
#397878
accent
#DADA4E
background
#F7F4F4
surface
#EEE8E7
border
#C9C4C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401515

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

Preview Lab → · Contrast checker → · Palette generator →

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