#400415#400415

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

Color values

HEX#400415
RGBrgb(64, 4, 21)
HSLhsl(343, 88%, 13%)
HSVhsv(343, 94%, 25%)
CMYKcmyk(0%, 93.8%, 67.2%, 74.9%)
CIE-LABlab(10.79, 29.02, 6.78)
CIE-LCHlch(10.79, 29.81, 13.15°)
OKLaboklab(24.24% 0.0879 0.0171)
OKLCHoklch(24.24% 0.09 11)
XYZxyz(2.2934, 1.2313, 0.8262)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400415 #04402F
analogous
#400433 #400415 #401104
triadic
#400415 #154004 #041540
tetradic
#400415 #334004 #04402F #110440
square
#400415 #334004 #04402F #110440
split-complementary
#400415 #044011 #043340
monochromatic
#1D0209 #1D0209 #400415 #7A0828 #B30B3B

Accessibility & contrast

On white

16.85
#400415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400415
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400415#FFFFFF#000000##FFFFFF
##4004151.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400415;
/* rgb */ color: rgb(64, 4, 21);
/* oklch */ color: oklch(24.2% 0.090 11.0);
Tailwind
colors: {
  custom: {
    50: '#7a4c51',
    500: '#400415',
    950: '#000000',
  },
}
SCSS
$custom: #400415;
$custom-light: #7a4c51;
$custom-dark: #000000;
JSON
{
  "hex": "#400415",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 21
  },
  "hsl": {
    "h": 343,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24242,
    "c": 0.08951,
    "h": 11
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#400415
secondary
#1F8165
accent
#FEC229
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400415

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

Preview Lab → · Contrast checker → · Palette generator →

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