#400424#400424

#400424 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.8% C 0.095 H 354.2°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#400424
RGBrgb(64, 4, 36)
HSLhsl(328, 88%, 13%)
HSVhsv(328, 94%, 25%)
CMYKcmyk(0%, 93.8%, 43.8%, 74.9%)
CIE-LABlab(11.31, 30.53, -3.77)
CIE-LCHlch(11.31, 30.76, 352.95°)
OKLaboklab(24.79% 0.094 -0.0096)
OKLCHoklch(24.79% 0.095 354.2)
XYZxyz(2.4764, 1.3045, 1.7901)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400424 #044020
analogous
#3E0440 #400424 #400406
triadic
#400424 #244004 #042440
tetradic
#400424 #403E04 #044020 #040640
square
#400424 #403E04 #044020 #040640
split-complementary
#400424 #064004 #04403E
monochromatic
#1D0210 #1D0210 #400424 #7A0844 #B30B65

Accessibility & contrast

On white

16.66
#400424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400424
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400424#FFFFFF#000000##FFFFFF
##4004241.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111725
Deuteranopia (green-blind)
#222223
Tritanopia (blue-blind)
#460013
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400424;
/* rgb */ color: rgb(64, 4, 36);
/* oklch */ color: oklch(24.8% 0.095 354.2);
Tailwind
colors: {
  custom: {
    50: '#784c5e',
    500: '#400424',
    950: '#000000',
  },
}
SCSS
$custom: #400424;
$custom-light: #784c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#400424",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 36
  },
  "hsl": {
    "h": 328,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24792,
    "c": 0.09451,
    "h": 354.2
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#400424
secondary
#1F814D
accent
#FE8D29
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400424

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

Preview Lab → · Contrast checker → · Palette generator →

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