#400716#400716

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

Color values

HEX#400716
RGBrgb(64, 7, 22)
HSLhsl(344, 80%, 14%)
HSVhsv(344, 89%, 25%)
CMYKcmyk(0%, 89.1%, 65.6%, 74.9%)
CIE-LABlab(11.28, 27.79, 6.76)
CIE-LCHlch(11.28, 28.60, 13.67°)
OKLaboklab(24.61% 0.0841 0.0169)
OKLCHoklch(24.61% 0.086 11.4)
XYZxyz(2.3354, 1.3002, 0.8869)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400716 #074031
analogous
#400733 #400716 #401507
triadic
#400716 #164007 #071640
tetradic
#400716 #334007 #074031 #150740
square
#400716 #334007 #074031 #150740
split-complementary
#400716 #074015 #073340
monochromatic
#1C0309 #1C0309 #400716 #770D29 #AE133C

Accessibility & contrast

On white

16.67
#400716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400716
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400716#FFFFFF#000000##FFFFFF
##4007161.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400716;
/* rgb */ color: rgb(64, 7, 22);
/* oklch */ color: oklch(24.6% 0.086 11.4);
Tailwind
colors: {
  custom: {
    50: '#794d52',
    500: '#400716',
    950: '#000000',
  },
}
SCSS
$custom: #400716;
$custom-light: #794d52;
$custom-dark: #000000;
JSON
{
  "hex": "#400716",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 22
  },
  "hsl": {
    "h": 344.211,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24612,
    "c": 0.08575,
    "h": 11.4
  },
  "luminance": 0.013
}

Semantic roles & 50–950 ramp

primary
#400716
secondary
#247F67
accent
#F7C331
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400716

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

Preview Lab → · Contrast checker → · Palette generator →

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