#400714#400714

#400714 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.086 H 13.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#400714
RGBrgb(64, 7, 20)
HSLhsl(346, 80%, 14%)
HSVhsv(346, 89%, 25%)
CMYKcmyk(0%, 89.1%, 68.8%, 74.9%)
CIE-LABlab(11.22, 27.62, 8.07)
CIE-LCHlch(11.22, 28.78, 16.28°)
OKLaboklab(24.56% 0.0831 0.0202)
OKLCHoklch(24.56% 0.086 13.7)
XYZxyz(2.3168, 1.2928, 0.7892)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400714 #074033
analogous
#400731 #400714 #401707
triadic
#400714 #144007 #071440
tetradic
#400714 #314007 #074033 #170740
square
#400714 #314007 #074033 #170740
split-complementary
#400714 #074017 #073140
monochromatic
#1C0309 #1C0309 #400714 #770D25 #AE1336

Accessibility & contrast

On white

16.69
#400714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400714
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400714#FFFFFF#000000##FFFFFF
##4007141.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171614
Deuteranopia (green-blind)
#262212
Tritanopia (blue-blind)
#47000C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400714;
/* rgb */ color: rgb(64, 7, 20);
/* oklch */ color: oklch(24.6% 0.086 13.7);
Tailwind
colors: {
  custom: {
    50: '#7a4d51',
    500: '#400714',
    950: '#000000',
  },
}
SCSS
$custom: #400714;
$custom-light: #7a4d51;
$custom-dark: #000000;
JSON
{
  "hex": "#400714",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 20
  },
  "hsl": {
    "h": 346.316,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24557,
    "c": 0.08553,
    "h": 13.7
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#400714
secondary
#247F6A
accent
#F7CA31
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400714

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

Preview Lab → · Contrast checker → · Palette generator →

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