#400711#400711

#400711 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.085 H 17.0°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#400711
RGBrgb(64, 7, 17)
HSLhsl(349, 80%, 14%)
HSVhsv(349, 89%, 25%)
CMYKcmyk(0%, 89.1%, 73.4%, 74.9%)
CIE-LABlab(11.15, 27.40, 9.83)
CIE-LCHlch(11.15, 29.11, 19.74°)
OKLaboklab(24.48% 0.0817 0.0249)
OKLCHoklch(24.48% 0.085 17)
XYZxyz(2.2918, 1.2828, 0.6571)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400711 #074036
analogous
#40072E #400711 #401A07
triadic
#400711 #114007 #071140
tetradic
#400711 #2E4007 #074036 #1A0740
square
#400711 #2E4007 #074036 #1A0740
split-complementary
#400711 #07401A #072E40
monochromatic
#1C0307 #1C0307 #400711 #770D20 #AE132E

Accessibility & contrast

On white

16.71
#400711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400711
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400711#FFFFFF#000000##FFFFFF
##4007111.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181611
Deuteranopia (green-blind)
#26220F
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400711;
/* rgb */ color: rgb(64, 7, 17);
/* oklch */ color: oklch(24.5% 0.085 17.0);
Tailwind
colors: {
  custom: {
    50: '#7a4d4f',
    500: '#400711',
    950: '#000000',
  },
}
SCSS
$custom: #400711;
$custom-light: #7a4d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#400711",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 17
  },
  "hsl": {
    "h": 349.474,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24482,
    "c": 0.0854,
    "h": 17
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#400711
secondary
#247F6F
accent
#F7D431
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400711

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

Preview Lab → · Contrast checker → · Palette generator →

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