#400715#400715

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

Color values

HEX#400715
RGBrgb(64, 7, 21)
HSLhsl(345, 80%, 14%)
HSVhsv(345, 89%, 25%)
CMYKcmyk(0%, 89.1%, 67.2%, 74.9%)
CIE-LABlab(11.25, 27.70, 7.42)
CIE-LCHlch(11.25, 28.68, 15.00°)
OKLaboklab(24.58% 0.0836 0.0186)
OKLCHoklch(24.58% 0.086 12.5)
XYZxyz(2.3259, 1.2964, 0.8371)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400715 #074032
analogous
#400732 #400715 #401607
triadic
#400715 #154007 #071540
tetradic
#400715 #324007 #074032 #160740
square
#400715 #324007 #074032 #160740
split-complementary
#400715 #074016 #073240
monochromatic
#1C0309 #1C0309 #400715 #770D27 #AE1339

Accessibility & contrast

On white

16.68
#400715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400715
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400715#FFFFFF#000000##FFFFFF
##4007151.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171615
Deuteranopia (green-blind)
#262213
Tritanopia (blue-blind)
#47000D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400715;
/* rgb */ color: rgb(64, 7, 21);
/* oklch */ color: oklch(24.6% 0.086 12.5);
Tailwind
colors: {
  custom: {
    50: '#794d52',
    500: '#400715',
    950: '#000000',
  },
}
SCSS
$custom: #400715;
$custom-light: #794d52;
$custom-dark: #000000;
JSON
{
  "hex": "#400715",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 21
  },
  "hsl": {
    "h": 345.263,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24584,
    "c": 0.08562,
    "h": 12.5
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#400715
secondary
#247F69
accent
#F7C631
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400715

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

Preview Lab → · Contrast checker → · Palette generator →

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