#400920#400920

#400920 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.086 H 0.4°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#400920
RGBrgb(64, 9, 32)
HSLhsl(335, 75%, 14%)
HSVhsv(335, 86%, 25%)
CMYKcmyk(0%, 85.9%, 50%, 74.9%)
CIE-LABlab(11.89, 27.94, 0.10)
CIE-LCHlch(11.89, 27.94, 0.20°)
OKLaboklab(25.17% 0.0858 0.0006)
OKLCHoklch(25.17% 0.086 0.4)
XYZxyz(2.4729, 1.3900, 1.5043)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400920 #094029
analogous
#40093C #400920 #400E09
triadic
#400920 #204009 #092040
tetradic
#400920 #3C4009 #094029 #0E0940
square
#400920 #3C4009 #094029 #0E0940
split-complementary
#400920 #09400E #093C40
monochromatic
#1B040D #1B040D #400920 #76113B #AB1856

Accessibility & contrast

On white

16.43
#400920 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400920 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400920
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400920#FFFFFF#000000##FFFFFF
##4009201.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151921
Deuteranopia (green-blind)
#24231F
Tritanopia (blue-blind)
#460213
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400920;
/* rgb */ color: rgb(64, 9, 32);
/* oklch */ color: oklch(25.2% 0.086 0.4);
Tailwind
colors: {
  custom: {
    50: '#784e5b',
    500: '#400920',
    950: '#000000',
  },
}
SCSS
$custom: #400920;
$custom-light: #784e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#400920",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 32
  },
  "hsl": {
    "h": 334.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25167,
    "c": 0.08578,
    "h": 0.4
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#400920
secondary
#277E5A
accent
#F2A336
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400920

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

Preview Lab → · Contrast checker → · Palette generator →

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