#400724#400724

#400724 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.090 H 355.0°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#400724
RGBrgb(64, 7, 36)
HSLhsl(329, 80%, 14%)
HSVhsv(329, 89%, 25%)
CMYKcmyk(0%, 89.1%, 43.8%, 74.9%)
CIE-LABlab(11.75, 29.25, -3.11)
CIE-LCHlch(11.75, 29.41, 353.94°)
OKLaboklab(25.12% 0.0899 -0.0078)
OKLCHoklch(25.12% 0.09 355)
XYZxyz(2.5089, 1.3696, 1.8010)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400724 #074023
analogous
#400740 #400724 #400707
triadic
#400724 #244007 #072440
tetradic
#400724 #404007 #074023 #070740
square
#400724 #404007 #074023 #070740
split-complementary
#400724 #074007 #074040
monochromatic
#1C0310 #1C0310 #400724 #770D43 #AE1362

Accessibility & contrast

On white

16.49
#400724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400724
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400724#FFFFFF#000000##FFFFFF
##4007241.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131825
Deuteranopia (green-blind)
#232323
Tritanopia (blue-blind)
#460214
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400724;
/* rgb */ color: rgb(64, 7, 36);
/* oklch */ color: oklch(25.1% 0.090 355.0);
Tailwind
colors: {
  custom: {
    50: '#784e5e',
    500: '#400724',
    950: '#000000',
  },
}
SCSS
$custom: #400724;
$custom-light: #784e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#400724",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 36
  },
  "hsl": {
    "h": 329.474,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25118,
    "c": 0.09027,
    "h": 355
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#400724
secondary
#247F51
accent
#F79231
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400724

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

Preview Lab → · Contrast checker → · Palette generator →

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