#400434#400434

#400434 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.6% C 0.105 H 338.2°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#400434
RGBrgb(64, 4, 52)
HSLhsl(312, 88%, 13%)
HSVhsv(312, 94%, 25%)
CMYKcmyk(0%, 93.8%, 18.8%, 74.9%)
CIE-LABlab(12.12, 32.79, -14.35)
CIE-LCHlch(12.12, 35.79, 336.37°)
OKLaboklab(25.65% 0.0974 -0.039)
OKLCHoklch(25.65% 0.105 338.2)
XYZxyz(2.7777, 1.4250, 3.3769)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400434 #044010
analogous
#2E0440 #400434 #400416
triadic
#400434 #344004 #043440
tetradic
#400434 #402E04 #044010 #041640
square
#400434 #402E04 #044010 #041640
split-complementary
#400434 #164004 #04402E
monochromatic
#1D0217 #1D0217 #400434 #7A0863 #B30B92

Accessibility & contrast

On white

16.34
#400434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400434
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400434#FFFFFF#000000##FFFFFF
##4004341.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#1D2333
Tritanopia (blue-blind)
#44071C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400434;
/* rgb */ color: rgb(64, 4, 52);
/* oklch */ color: oklch(25.6% 0.105 338.2);
Tailwind
colors: {
  custom: {
    50: '#784d6b',
    500: '#400434',
    950: '#000000',
  },
}
SCSS
$custom: #400434;
$custom-light: #784d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#400434",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 312,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25647,
    "c": 0.10492,
    "h": 338.2
  },
  "luminance": 0.01425
}

Semantic roles & 50–950 ramp

primary
#400434
secondary
#1F8132
accent
#FE5429
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400434

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

Preview Lab → · Contrast checker → · Palette generator →

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