#400514#400514

#400514 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.3% C 0.088 H 12.6°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#400514
RGBrgb(64, 5, 20)
HSLhsl(345, 86%, 14%)
HSVhsv(345, 92%, 25%)
CMYKcmyk(0%, 92.2%, 68.8%, 74.9%)
CIE-LABlab(10.92, 28.50, 7.64)
CIE-LCHlch(10.92, 29.50, 15.00°)
OKLaboklab(24.33% 0.0859 0.0192)
OKLCHoklch(24.33% 0.088 12.6)
XYZxyz(2.2951, 1.2494, 0.7820)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400514 #054031
analogous
#400531 #400514 #401305
triadic
#400514 #144005 #051440
tetradic
#400514 #314005 #054031 #130540
square
#400514 #314005 #054031 #130540
split-complementary
#400514 #054013 #053140
monochromatic
#1C0209 #1C0209 #400514 #790926 #B20E37

Accessibility & contrast

On white

16.80
#400514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400514
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400514#FFFFFF#000000##FFFFFF
##4005141.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400514;
/* rgb */ color: rgb(64, 5, 20);
/* oklch */ color: oklch(24.3% 0.088 12.6);
Tailwind
colors: {
  custom: {
    50: '#7a4c51',
    500: '#400514',
    950: '#000000',
  },
}
SCSS
$custom: #400514;
$custom-light: #7a4c51;
$custom-dark: #000000;
JSON
{
  "hex": "#400514",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 20
  },
  "hsl": {
    "h": 344.746,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24329,
    "c": 0.08807,
    "h": 12.6
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#400514
secondary
#208168
accent
#FCC72C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400514

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

Preview Lab → · Contrast checker → · Palette generator →

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