#400320#400320

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

Color values

HEX#400320
RGBrgb(64, 3, 32)
HSLhsl(331, 91%, 13%)
HSVhsv(331, 95%, 25%)
CMYKcmyk(0%, 95.3%, 50%, 74.9%)
CIE-LABlab(10.99, 30.51, -1.22)
CIE-LCHlch(10.99, 30.53, 357.70°)
OKLaboklab(24.51% 0.094 -0.0028)
OKLCHoklch(24.51% 0.094 358.3)
XYZxyz(2.4078, 1.2597, 1.4826)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400320 #034023
analogous
#40033E #400320 #400403
triadic
#400320 #204003 #032040
tetradic
#400320 #3E4003 #034023 #040340
square
#400320 #3E4003 #034023 #040340
split-complementary
#400320 #034004 #033E40
monochromatic
#1D010F #1D010F #400320 #7A063D #B5085A

Accessibility & contrast

On white

16.78
#400320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#400320 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400320
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400320#FFFFFF#000000##FFFFFF
##4003201.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111621
Deuteranopia (green-blind)
#22221F
Tritanopia (blue-blind)
#460010
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400320;
/* rgb */ color: rgb(64, 3, 32);
/* oklch */ color: oklch(24.5% 0.094 358.3);
Tailwind
colors: {
  custom: {
    50: '#794c5b',
    500: '#400320',
    950: '#000000',
  },
}
SCSS
$custom: #400320;
$custom-light: #794c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#400320",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 32
  },
  "hsl": {
    "h": 331.475,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24509,
    "c": 0.09408,
    "h": 358.3
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#400320
secondary
#1D8252
accent
#FF9929
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400320

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

Preview Lab → · Contrast checker → · Palette generator →

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