#400A36#400A36

#400A36 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.098 H 336.7°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#400A36
RGBrgb(64, 10, 54)
HSLhsl(311, 73%, 15%)
HSVhsv(311, 84%, 25%)
CMYKcmyk(0%, 84.4%, 15.6%, 74.9%)
CIE-LABlab(13.07, 30.74, -14.31)
CIE-LCHlch(13.07, 33.91, 335.03°)
OKLaboklab(26.36% 0.0904 -0.039)
OKLCHoklch(26.36% 0.098 336.7)
XYZxyz(2.8888, 1.5737, 3.6409)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A36 #0A4014
analogous
#2F0A40 #400A36 #400A1B
triadic
#400A36 #36400A #0A3640
tetradic
#400A36 #402F0A #0A4014 #0A1B40
square
#400A36 #402F0A #0A4014 #0A1B40
split-complementary
#400A36 #1B400A #0A402F
monochromatic
#1A0416 #1A0416 #400A36 #751263 #AA1B8F

Accessibility & contrast

On white

15.97
#400A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400A36
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A36#FFFFFF#000000##FFFFFF
##400A361.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C37
Deuteranopia (green-blind)
#1E2535
Tritanopia (blue-blind)
#440E1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400a36;
/* rgb */ color: rgb(64, 10, 54);
/* oklch */ color: oklch(26.4% 0.098 336.7);
Tailwind
colors: {
  custom: {
    50: '#77506d',
    500: '#400a36',
    950: '#000000',
  },
}
SCSS
$custom: #400a36;
$custom-light: #77506d;
$custom-dark: #000000;
JSON
{
  "hex": "#400a36",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 311.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26364,
    "c": 0.09847,
    "h": 336.7
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#400A36
secondary
#297D38
accent
#F05A38
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400A36

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

Preview Lab → · Contrast checker → · Palette generator →

#400A36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva