#400420#400420

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

Color values

HEX#400420
RGBrgb(64, 4, 32)
HSLhsl(332, 88%, 13%)
HSVhsv(332, 94%, 25%)
CMYKcmyk(0%, 93.8%, 50%, 74.9%)
CIE-LABlab(11.14, 30.06, -1.00)
CIE-LCHlch(11.14, 30.08, 358.10°)
OKLaboklab(24.62% 0.0926 -0.0022)
OKLCHoklch(24.62% 0.093 358.6)
XYZxyz(2.4187, 1.2814, 1.4862)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400420 #044024
analogous
#40043E #400420 #400604
triadic
#400420 #204004 #042040
tetradic
#400420 #3E4004 #044024 #060440
square
#400420 #3E4004 #044024 #060440
split-complementary
#400420 #044006 #043E40
monochromatic
#1D020E #1D020E #400420 #7A083D #B30B5A

Accessibility & contrast

On white

16.72
#400420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400420
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400420#FFFFFF#000000##FFFFFF
##4004201.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121621
Deuteranopia (green-blind)
#23221F
Tritanopia (blue-blind)
#460011
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400420;
/* rgb */ color: rgb(64, 4, 32);
/* oklch */ color: oklch(24.6% 0.093 358.6);
Tailwind
colors: {
  custom: {
    50: '#794c5b',
    500: '#400420',
    950: '#000000',
  },
}
SCSS
$custom: #400420;
$custom-light: #794c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#400420",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 32
  },
  "hsl": {
    "h": 332,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24621,
    "c": 0.09263,
    "h": 358.6
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#400420
secondary
#1F8153
accent
#FE9B29
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400420

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

Preview Lab → · Contrast checker → · Palette generator →

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