#400516#400516

#400516 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.4% C 0.088 H 10.4°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#400516
RGBrgb(64, 5, 22)
HSLhsl(343, 86%, 14%)
HSVhsv(343, 92%, 25%)
CMYKcmyk(0%, 92.2%, 65.6%, 74.9%)
CIE-LABlab(10.97, 28.66, 6.33)
CIE-LCHlch(10.97, 29.35, 12.46°)
OKLaboklab(24.39% 0.0869 0.0159)
OKLCHoklch(24.39% 0.088 10.4)
XYZxyz(2.3137, 1.2568, 0.8797)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400516 #05402F
analogous
#400533 #400516 #401105
triadic
#400516 #164005 #051640
tetradic
#400516 #334005 #05402F #110540
square
#400516 #334005 #05402F #110540
split-complementary
#400516 #054011 #053340
monochromatic
#1C020A #1C020A #400516 #79092A #B20E3D

Accessibility & contrast

On white

16.78
#400516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400516
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400516#FFFFFF#000000##FFFFFF
##4005161.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161616
Deuteranopia (green-blind)
#252214
Tritanopia (blue-blind)
#47000C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400516;
/* rgb */ color: rgb(64, 5, 22);
/* oklch */ color: oklch(24.4% 0.088 10.4);
Tailwind
colors: {
  custom: {
    50: '#7a4c52',
    500: '#400516',
    950: '#000000',
  },
}
SCSS
$custom: #400516;
$custom-light: #7a4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#400516",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 22
  },
  "hsl": {
    "h": 342.712,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24386,
    "c": 0.08833,
    "h": 10.4
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#400516
secondary
#208165
accent
#FCC02C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400516

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

Preview Lab → · Contrast checker → · Palette generator →

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