#400436#400436

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

Color values

HEX#400436
RGBrgb(64, 4, 54)
HSLhsl(310, 88%, 13%)
HSVhsv(310, 94%, 25%)
CMYKcmyk(0%, 93.8%, 15.6%, 74.9%)
CIE-LABlab(12.24, 33.12, -15.61)
CIE-LCHlch(12.24, 36.61, 334.76°)
OKLaboklab(25.77% 0.0975 -0.0426)
OKLCHoklch(25.77% 0.106 336.4)
XYZxyz(2.8237, 1.4434, 3.6192)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400436 #04400E
analogous
#2C0440 #400436 #400418
triadic
#400436 #364004 #043640
tetradic
#400436 #402C04 #04400E #041840
square
#400436 #402C04 #04400E #041840
split-complementary
#400436 #184004 #04402C
monochromatic
#1D0218 #1D0218 #400436 #7A0867 #B30B97

Accessibility & contrast

On white

16.30
#400436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400436
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400436#FFFFFF#000000##FFFFFF
##4004361.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#1C2335
Tritanopia (blue-blind)
#44081D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400436;
/* rgb */ color: rgb(64, 4, 54);
/* oklch */ color: oklch(25.8% 0.106 336.4);
Tailwind
colors: {
  custom: {
    50: '#784d6d',
    500: '#400436',
    950: '#000000',
  },
}
SCSS
$custom: #400436;
$custom-light: #784d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#400436",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 310,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25772,
    "c": 0.10644,
    "h": 336.4
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#400436
secondary
#1F812F
accent
#FE4D29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400436

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

Preview Lab → · Contrast checker → · Palette generator →

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