#400523#400523

#400523 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.9% C 0.093 H 355.6°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#400523
RGBrgb(64, 5, 35)
HSLhsl(329, 86%, 14%)
HSVhsv(329, 92%, 25%)
CMYKcmyk(0%, 92.2%, 45.3%, 74.9%)
CIE-LABlab(11.42, 29.97, -2.86)
CIE-LCHlch(11.42, 30.11, 354.55°)
OKLaboklab(24.86% 0.0923 -0.0072)
OKLCHoklch(24.86% 0.093 355.6)
XYZxyz(2.4722, 1.3202, 1.7144)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400523 #054022
analogous
#3F0540 #400523 #400505
triadic
#400523 #234005 #052340
tetradic
#400523 #403F05 #054022 #050540
square
#400523 #403F05 #054022 #050540
split-complementary
#400523 #054005 #05403F
monochromatic
#1C0210 #1C0210 #400523 #790942 #B20E61

Accessibility & contrast

On white

16.61
#400523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400523
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400523#FFFFFF#000000##FFFFFF
##4005231.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400523;
/* rgb */ color: rgb(64, 5, 35);
/* oklch */ color: oklch(24.9% 0.093 355.6);
Tailwind
colors: {
  custom: {
    50: '#784d5d',
    500: '#400523',
    950: '#000000',
  },
}
SCSS
$custom: #400523;
$custom-light: #784d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#400523",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 35
  },
  "hsl": {
    "h": 329.492,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24858,
    "c": 0.09257,
    "h": 355.6
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#400523
secondary
#208150
accent
#FC922C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400523

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

Preview Lab → · Contrast checker → · Palette generator →

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