#401117#401117

#401117 is a dark, moderate red. Relative luminance 0.016; OKLCH L 25.9% C 0.073 H 16.4°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#401117
RGBrgb(64, 17, 23)
HSLhsl(352, 58%, 16%)
HSVhsv(352, 73%, 25%)
CMYKcmyk(0%, 73.4%, 64.1%, 74.9%)
CIE-LABlab(12.94, 23.35, 8.29)
CIE-LCHlch(12.94, 24.78, 19.56°)
OKLaboklab(25.86% 0.07 0.0206)
OKLCHoklch(25.86% 0.073 16.4)
XYZxyz(2.4697, 1.5531, 0.9802)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401117 #11403A
analogous
#40112E #401117 #402211
triadic
#401117 #174011 #111740
tetradic
#401117 #2E4011 #11403A #221140
square
#401117 #2E4011 #11403A #221140
split-complementary
#401117 #114022 #112E40
monochromatic
#180609 #180609 #401117 #701E28 #A12B3A

Accessibility & contrast

On white

16.02
#401117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#401117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401117
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401117#FFFFFF#000000##FFFFFF
##4011171.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B17
Deuteranopia (green-blind)
#292516
Tritanopia (blue-blind)
#470813
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401117;
/* rgb */ color: rgb(64, 17, 23);
/* oklch */ color: oklch(25.9% 0.073 16.4);
Tailwind
colors: {
  custom: {
    50: '#795253',
    500: '#401117',
    950: '#000000',
  },
}
SCSS
$custom: #401117;
$custom-light: #795253;
$custom-dark: #000000;
JSON
{
  "hex": "#401117",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 352.34,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25857,
    "c": 0.07298,
    "h": 16.4
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#401117
secondary
#337971
accent
#E1CE47
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401117

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

Preview Lab → · Contrast checker → · Palette generator →

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