#400422#400422

#400422 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.7% C 0.094 H 356.4°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#400422
RGBrgb(64, 4, 34)
HSLhsl(330, 88%, 13%)
HSVhsv(330, 94%, 25%)
CMYKcmyk(0%, 93.8%, 46.9%, 74.9%)
CIE-LABlab(11.22, 30.29, -2.39)
CIE-LCHlch(11.22, 30.38, 355.49°)
OKLaboklab(24.71% 0.0933 -0.0059)
OKLCHoklch(24.71% 0.094 356.4)
XYZxyz(2.4467, 1.2926, 1.6337)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400422 #044022
analogous
#400440 #400422 #400404
triadic
#400422 #224004 #042240
tetradic
#400422 #404004 #044022 #040440
square
#400422 #404004 #044022 #040440
split-complementary
#400422 #044004 #044040
monochromatic
#1D020F #1D020F #400422 #7A0841 #B30B5F

Accessibility & contrast

On white

16.69
#400422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400422
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400422#FFFFFF#000000##FFFFFF
##4004221.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111723
Deuteranopia (green-blind)
#222221
Tritanopia (blue-blind)
#460012
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400422;
/* rgb */ color: rgb(64, 4, 34);
/* oklch */ color: oklch(24.7% 0.094 356.4);
Tailwind
colors: {
  custom: {
    50: '#784c5c',
    500: '#400422',
    950: '#000000',
  },
}
SCSS
$custom: #400422;
$custom-light: #784c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#400422",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 330,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24705,
    "c": 0.09353,
    "h": 356.4
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#400422
secondary
#1F8150
accent
#FE9429
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400422

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

Preview Lab → · Contrast checker → · Palette generator →

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