#400529#400529

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

Color values

HEX#400529
RGBrgb(64, 5, 41)
HSLhsl(323, 86%, 14%)
HSVhsv(323, 92%, 25%)
CMYKcmyk(0%, 92.2%, 35.9%, 74.9%)
CIE-LABlab(11.68, 30.74, -6.95)
CIE-LCHlch(11.68, 31.51, 347.26°)
OKLaboklab(25.14% 0.0941 -0.0182)
OKLCHoklch(25.14% 0.096 349)
XYZxyz(2.5690, 1.3589, 2.2244)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400529 #05401C
analogous
#390540 #400529 #40050B
triadic
#400529 #294005 #052940
tetradic
#400529 #403905 #05401C #050B40
square
#400529 #403905 #05401C #050B40
split-complementary
#400529 #0B4005 #054039
monochromatic
#1C0212 #1C0212 #400529 #79094D #B20E72

Accessibility & contrast

On white

16.51
#400529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400529
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400529#FFFFFF#000000##FFFFFF
##4005291.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F182A
Deuteranopia (green-blind)
#212328
Tritanopia (blue-blind)
#450216
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400529;
/* rgb */ color: rgb(64, 5, 41);
/* oklch */ color: oklch(25.1% 0.096 349.0);
Tailwind
colors: {
  custom: {
    50: '#784d62',
    500: '#400529',
    950: '#000000',
  },
}
SCSS
$custom: #400529;
$custom-light: #784d62;
$custom-dark: #000000;
JSON
{
  "hex": "#400529",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 323.39,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25138,
    "c": 0.09588,
    "h": 349
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#400529
secondary
#208146
accent
#FC7D2C
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400529

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

Preview Lab → · Contrast checker → · Palette generator →

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