#401615#401615

#401615 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.6% C 0.066 H 24.0°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#401615
RGBrgb(64, 22, 21)
HSLhsl(1, 51%, 17%)
HSVhsv(1, 67%, 25%)
CMYKcmyk(0%, 65.6%, 67.2%, 74.9%)
CIE-LABlab(13.93, 20.40, 11.04)
CIE-LCHlch(13.93, 23.20, 28.43°)
OKLaboklab(26.59% 0.0603 0.0269)
OKLCHoklch(26.59% 0.066 24)
XYZxyz(2.5368, 1.7183, 0.9074)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401615 #153F40
analogous
#40152A #401615 #402C15
triadic
#401615 #154016 #161540
tetradic
#401615 #2A4015 #153F40 #2C1540
square
#401615 #2A4015 #153F40 #2C1540
split-complementary
#401615 #15402C #152A40
monochromatic
#170808 #170808 #401615 #6E2624 #9C3633

Accessibility & contrast

On white

15.63
#401615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401615
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401615#FFFFFF#000000##FFFFFF
##4016151.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E15
Deuteranopia (green-blind)
#2B2714
Tritanopia (blue-blind)
#470E16
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401615;
/* rgb */ color: rgb(64, 22, 21);
/* oklch */ color: oklch(26.6% 0.066 24.0);
Tailwind
colors: {
  custom: {
    50: '#785552',
    500: '#401615',
    950: '#000000',
  },
}
SCSS
$custom: #401615;
$custom-light: #785552;
$custom-dark: #000000;
JSON
{
  "hex": "#401615",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 21
  },
  "hsl": {
    "h": 1.395,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26587,
    "c": 0.06604,
    "h": 24
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#401615
secondary
#397678
accent
#D7DA4E
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401615

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

Preview Lab → · Contrast checker → · Palette generator →

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