#400423#400423

#400423 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.7% C 0.094 H 355.3°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#400423
RGBrgb(64, 4, 35)
HSLhsl(329, 88%, 13%)
HSVhsv(329, 94%, 25%)
CMYKcmyk(0%, 93.8%, 45.3%, 74.9%)
CIE-LABlab(11.27, 30.40, -3.08)
CIE-LCHlch(11.27, 30.56, 354.21°)
OKLaboklab(24.75% 0.0937 -0.0077)
OKLCHoklch(24.75% 0.094 355.3)
XYZxyz(2.4613, 1.2985, 1.7108)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400423 #044021
analogous
#3F0440 #400423 #400405
triadic
#400423 #234004 #042340
tetradic
#400423 #403F04 #044021 #040540
square
#400423 #403F04 #044021 #040540
split-complementary
#400423 #054004 #04403F
monochromatic
#1D0210 #1D0210 #400423 #7A0842 #B30B62

Accessibility & contrast

On white

16.67
#400423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400423
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400423#FFFFFF#000000##FFFFFF
##4004231.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111724
Deuteranopia (green-blind)
#222222
Tritanopia (blue-blind)
#460012
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400423;
/* rgb */ color: rgb(64, 4, 35);
/* oklch */ color: oklch(24.7% 0.094 355.3);
Tailwind
colors: {
  custom: {
    50: '#784c5d',
    500: '#400423',
    950: '#000000',
  },
}
SCSS
$custom: #400423;
$custom-light: #784c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#400423",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 35
  },
  "hsl": {
    "h": 329,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24748,
    "c": 0.094,
    "h": 355.3
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#400423
secondary
#1F814E
accent
#FE9029
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400423

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

Preview Lab → · Contrast checker → · Palette generator →

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