#400519#400519

#400519 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.5% C 0.089 H 7.0°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#400519
RGBrgb(64, 5, 25)
HSLhsl(340, 86%, 14%)
HSVhsv(340, 92%, 25%)
CMYKcmyk(0%, 92.2%, 60.9%, 74.9%)
CIE-LABlab(11.06, 28.92, 4.20)
CIE-LCHlch(11.06, 29.22, 8.27°)
OKLaboklab(24.48% 0.0883 0.0108)
OKLCHoklch(24.48% 0.089 7)
XYZxyz(2.3443, 1.2691, 1.0410)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400519 #05402C
analogous
#400536 #400519 #400E05
triadic
#400519 #194005 #051940
tetradic
#400519 #364005 #05402C #0E0540
square
#400519 #364005 #05402C #0E0540
split-complementary
#400519 #05400E #053640
monochromatic
#1C020B #1C020B #400519 #79092F #B20E45

Accessibility & contrast

On white

16.75
#400519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400519
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400519#FFFFFF#000000##FFFFFF
##4005191.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151619
Deuteranopia (green-blind)
#242218
Tritanopia (blue-blind)
#47000E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400519;
/* rgb */ color: rgb(64, 5, 25);
/* oklch */ color: oklch(24.5% 0.089 7.0);
Tailwind
colors: {
  custom: {
    50: '#794c55',
    500: '#400519',
    950: '#000000',
  },
}
SCSS
$custom: #400519;
$custom-light: #794c55;
$custom-dark: #000000;
JSON
{
  "hex": "#400519",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 25
  },
  "hsl": {
    "h": 339.661,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24478,
    "c": 0.08891,
    "h": 7
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#400519
secondary
#208160
accent
#FCB52C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0103
muted
#7C7778

Preview Lab

Preview with #400519

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

Preview Lab → · Contrast checker → · Palette generator →

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