#400414#400414

#400414 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.2% C 0.089 H 12.1°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#400414
RGBrgb(64, 4, 20)
HSLhsl(344, 88%, 13%)
HSVhsv(344, 94%, 25%)
CMYKcmyk(0%, 93.8%, 68.8%, 74.9%)
CIE-LABlab(10.76, 28.95, 7.42)
CIE-LCHlch(10.76, 29.88, 14.37°)
OKLaboklab(24.21% 0.0874 0.0187)
OKLCHoklch(24.21% 0.089 12.1)
XYZxyz(2.2843, 1.2277, 0.7784)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400414 #044030
analogous
#400432 #400414 #401204
triadic
#400414 #144004 #041440
tetradic
#400414 #324004 #044030 #120440
square
#400414 #324004 #044030 #120440
split-complementary
#400414 #044012 #043240
monochromatic
#1D0209 #1D0209 #400414 #7A0826 #B30B38

Accessibility & contrast

On white

16.86
#400414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#400414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400414
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400414#FFFFFF#000000##FFFFFF
##4004141.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151514
Deuteranopia (green-blind)
#252112
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400414;
/* rgb */ color: rgb(64, 4, 20);
/* oklch */ color: oklch(24.2% 0.089 12.1);
Tailwind
colors: {
  custom: {
    50: '#7a4c51',
    500: '#400414',
    950: '#000000',
  },
}
SCSS
$custom: #400414;
$custom-light: #7a4c51;
$custom-dark: #000000;
JSON
{
  "hex": "#400414",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 20
  },
  "hsl": {
    "h": 344,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24214,
    "c": 0.08938,
    "h": 12.1
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#400414
secondary
#1F8167
accent
#FEC629
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400414

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

Preview Lab → · Contrast checker → · Palette generator →

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