#400426#400426

#400426 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.9% C 0.096 H 352.0°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#400426
RGBrgb(64, 4, 38)
HSLhsl(326, 88%, 13%)
HSVhsv(326, 94%, 25%)
CMYKcmyk(0%, 93.8%, 40.6%, 74.9%)
CIE-LABlab(11.39, 30.77, -5.14)
CIE-LCHlch(11.39, 31.20, 350.51°)
OKLaboklab(24.88% 0.0947 -0.0133)
OKLCHoklch(24.88% 0.096 352)
XYZxyz(2.5078, 1.3171, 1.9555)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400426 #04401E
analogous
#3C0440 #400426 #400408
triadic
#400426 #264004 #042640
tetradic
#400426 #403C04 #04401E #040840
square
#400426 #403C04 #04401E #040840
split-complementary
#400426 #084004 #04403C
monochromatic
#1D0211 #1D0211 #400426 #7A0848 #B30B6A

Accessibility & contrast

On white

16.62
#400426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400426
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400426#FFFFFF#000000##FFFFFF
##4004261.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101727
Deuteranopia (green-blind)
#212225
Tritanopia (blue-blind)
#460014
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400426;
/* rgb */ color: rgb(64, 4, 38);
/* oklch */ color: oklch(24.9% 0.096 352.0);
Tailwind
colors: {
  custom: {
    50: '#784c60',
    500: '#400426',
    950: '#000000',
  },
}
SCSS
$custom: #400426;
$custom-light: #784c60;
$custom-dark: #000000;
JSON
{
  "hex": "#400426",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 38
  },
  "hsl": {
    "h": 326,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24884,
    "c": 0.09558,
    "h": 352
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#400426
secondary
#1F8149
accent
#FE8629
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400426

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

Preview Lab → · Contrast checker → · Palette generator →

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