#401107#401107

#401107 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.5% C 0.076 H 33.9°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#401107
RGBrgb(64, 17, 7)
HSLhsl(11, 80%, 14%)
HSVhsv(11, 89%, 25%)
CMYKcmyk(0%, 73.4%, 89.1%, 74.9%)
CIE-LABlab(12.65, 22.24, 16.55)
CIE-LCHlch(12.65, 27.72, 36.65°)
OKLaboklab(25.54% 0.0628 0.0423)
OKLCHoklch(25.54% 0.076 33.9)
XYZxyz(2.3534, 1.5066, 0.3678)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401107 #073640
analogous
#40071A #401107 #402E07
triadic
#401107 #074011 #110740
tetradic
#401107 #1A4007 #073640 #2E0740
square
#401107 #1A4007 #073640 #2E0740
split-complementary
#401107 #07402E #071A40
monochromatic
#1C0703 #1C0703 #401107 #77200D #AE2E13

Accessibility & contrast

On white

16.14
#401107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#401107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401107
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401107#FFFFFF#000000##FFFFFF
##4011071.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A06
Deuteranopia (green-blind)
#2A2506
Tritanopia (blue-blind)
#47050F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401107;
/* rgb */ color: rgb(64, 17, 7);
/* oklch */ color: oklch(25.5% 0.076 33.9);
Tailwind
colors: {
  custom: {
    50: '#7a5249',
    500: '#401107',
    950: '#000000',
  },
}
SCSS
$custom: #401107;
$custom-light: #7a5249;
$custom-dark: #000000;
JSON
{
  "hex": "#401107",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 7
  },
  "hsl": {
    "h": 10.526,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25544,
    "c": 0.07569,
    "h": 33.9
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#401107
secondary
#246F7F
accent
#D4F731
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401107

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

Preview Lab → · Contrast checker → · Palette generator →

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