#400431#400431

#400431 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.5% C 0.103 H 340.9°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#400431
RGBrgb(64, 4, 49)
HSLhsl(315, 88%, 13%)
HSVhsv(315, 94%, 25%)
CMYKcmyk(0%, 93.8%, 23.4%, 74.9%)
CIE-LABlab(11.95, 32.32, -12.43)
CIE-LCHlch(11.95, 34.62, 338.96°)
OKLaboklab(25.47% 0.0971 -0.0336)
OKLCHoklch(25.47% 0.103 340.9)
XYZxyz(2.7122, 1.3989, 3.0323)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400431 #044013
analogous
#310440 #400431 #400413
triadic
#400431 #314004 #043140
tetradic
#400431 #403104 #044013 #041340
square
#400431 #403104 #044013 #041340
split-complementary
#400431 #134004 #044031
monochromatic
#1D0216 #1D0216 #400431 #7A085D #B30B89

Accessibility & contrast

On white

16.41
#400431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400431
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400431#FFFFFF#000000##FFFFFF
##4004311.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#1E2330
Tritanopia (blue-blind)
#45051A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400431;
/* rgb */ color: rgb(64, 4, 49);
/* oklch */ color: oklch(25.5% 0.103 340.9);
Tailwind
colors: {
  custom: {
    50: '#784d69',
    500: '#400431',
    950: '#000000',
  },
}
SCSS
$custom: #400431;
$custom-light: #784d69;
$custom-dark: #000000;
JSON
{
  "hex": "#400431",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 315,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25466,
    "c": 0.10269,
    "h": 340.9
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#400431
secondary
#1F8137
accent
#FE5F29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400431

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

Preview Lab → · Contrast checker → · Palette generator →

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