#401617#401617

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

Color values

HEX#401617
RGBrgb(64, 22, 23)
HSLhsl(359, 49%, 17%)
HSVhsv(359, 66%, 25%)
CMYKcmyk(0%, 65.6%, 64.1%, 74.9%)
CIE-LABlab(13.98, 20.59, 9.68)
CIE-LCHlch(13.98, 22.75, 25.18°)
OKLaboklab(26.64% 0.0613 0.0238)
OKLCHoklch(26.64% 0.066 21.2)
XYZxyz(2.5561, 1.7260, 1.0090)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401617 #16403F
analogous
#40162C #401617 #402A16
triadic
#401617 #174016 #161740
tetradic
#401617 #2C4016 #16403F #2A1640
square
#401617 #2C4016 #16403F #2A1640
split-complementary
#401617 #16402A #162C40
monochromatic
#170808 #170808 #401617 #6E2627 #9B3538

Accessibility & contrast

On white

15.61
#401617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401617
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401617#FFFFFF#000000##FFFFFF
##4016171.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E17
Deuteranopia (green-blind)
#2B2716
Tritanopia (blue-blind)
#470F17
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401617;
/* rgb */ color: rgb(64, 22, 23);
/* oklch */ color: oklch(26.6% 0.066 21.2);
Tailwind
colors: {
  custom: {
    50: '#785553',
    500: '#401617',
    950: '#000000',
  },
}
SCSS
$custom: #401617;
$custom-light: #785553;
$custom-dark: #000000;
JSON
{
  "hex": "#401617",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 23
  },
  "hsl": {
    "h": 358.571,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26635,
    "c": 0.06576,
    "h": 21.2
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#401617
secondary
#3B7776
accent
#D8D54F
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401617

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

Preview Lab → · Contrast checker → · Palette generator →

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