#400435#400435

#400435 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.7% C 0.106 H 337.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#400435
RGBrgb(64, 4, 53)
HSLhsl(311, 88%, 13%)
HSVhsv(311, 94%, 25%)
CMYKcmyk(0%, 93.8%, 17.2%, 74.9%)
CIE-LABlab(12.18, 32.95, -14.98)
CIE-LCHlch(12.18, 36.20, 335.55°)
OKLaboklab(25.71% 0.0975 -0.0408)
OKLCHoklch(25.71% 0.106 337.3)
XYZxyz(2.8004, 1.4341, 3.4968)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400435 #04400F
analogous
#2D0440 #400435 #400417
triadic
#400435 #354004 #043540
tetradic
#400435 #402D04 #04400F #041740
square
#400435 #402D04 #04400F #041740
split-complementary
#400435 #174004 #04402D
monochromatic
#1D0218 #1D0218 #400435 #7A0865 #B30B94

Accessibility & contrast

On white

16.32
#400435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400435
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400435#FFFFFF#000000##FFFFFF
##4004351.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#1C2334
Tritanopia (blue-blind)
#44081C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400435;
/* rgb */ color: rgb(64, 4, 53);
/* oklch */ color: oklch(25.7% 0.106 337.3);
Tailwind
colors: {
  custom: {
    50: '#784d6c',
    500: '#400435',
    950: '#000000',
  },
}
SCSS
$custom: #400435;
$custom-light: #784d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#400435",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 311,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25709,
    "c": 0.10568,
    "h": 337.3
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#400435
secondary
#1F8131
accent
#FE5029
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400435

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

Preview Lab → · Contrast checker → · Palette generator →

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