#400B36#400B36

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

Color values

HEX#400B36
RGBrgb(64, 11, 54)
HSLhsl(311, 71%, 15%)
HSVhsv(311, 83%, 25%)
CMYKcmyk(0%, 82.8%, 15.6%, 74.9%)
CIE-LABlab(13.21, 30.35, -14.10)
CIE-LCHlch(13.21, 33.47, 335.08°)
OKLaboklab(26.46% 0.0893 -0.0384)
OKLCHoklch(26.46% 0.097 336.7)
XYZxyz(2.8999, 1.5959, 3.6446)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B36 #0B4015
analogous
#300B40 #400B36 #400B1B
triadic
#400B36 #36400B #0B3640
tetradic
#400B36 #40300B #0B4015 #0B1B40
square
#400B36 #40300B #0B4015 #0B1B40
split-complementary
#400B36 #1B400B #0B4030
monochromatic
#1A0416 #1A0416 #400B36 #741462 #A81D8E

Accessibility & contrast

On white

15.92
#400B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#400B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B36
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B36#FFFFFF#000000##FFFFFF
##400B361.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400b36;
/* rgb */ color: rgb(64, 11, 54);
/* oklch */ color: oklch(26.5% 0.097 336.7);
Tailwind
colors: {
  custom: {
    50: '#77506d',
    500: '#400b36',
    950: '#000000',
  },
}
SCSS
$custom: #400b36;
$custom-light: #77506d;
$custom-dark: #000000;
JSON
{
  "hex": "#400b36",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 311.321,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26462,
    "c": 0.09718,
    "h": 336.7
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#400B36
secondary
#2A7D3A
accent
#ED5C3A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400B36

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

Preview Lab → · Contrast checker → · Palette generator →

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