#400B32#400B32

#400B32 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.094 H 340.6°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#400B32
RGBrgb(64, 11, 50)
HSLhsl(316, 71%, 15%)
HSVhsv(316, 83%, 25%)
CMYKcmyk(0%, 82.8%, 21.9%, 74.9%)
CIE-LABlab(12.98, 29.67, -11.55)
CIE-LCHlch(12.98, 31.84, 338.72°)
OKLaboklab(26.23% 0.0887 -0.0311)
OKLCHoklch(26.23% 0.094 340.6)
XYZxyz(2.8098, 1.5599, 3.1701)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B32 #0B4019
analogous
#340B40 #400B32 #400B18
triadic
#400B32 #32400B #0B3240
tetradic
#400B32 #40340B #0B4019 #0B1840
square
#400B32 #40340B #0B4019 #0B1840
split-complementary
#400B32 #18400B #0B4034
monochromatic
#1A0414 #1A0414 #400B32 #74145B #A81D84

Accessibility & contrast

On white

16.01
#400B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B32
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B32#FFFFFF#000000##FFFFFF
##400B321.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1C33
Deuteranopia (green-blind)
#202531
Tritanopia (blue-blind)
#440C1D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b32;
/* rgb */ color: rgb(64, 11, 50);
/* oklch */ color: oklch(26.2% 0.094 340.6);
Tailwind
colors: {
  custom: {
    50: '#77506a',
    500: '#400b32',
    950: '#000000',
  },
}
SCSS
$custom: #400b32;
$custom-light: #77506a;
$custom-dark: #000000;
JSON
{
  "hex": "#400b32",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 315.849,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2623,
    "c": 0.09396,
    "h": 340.6
  },
  "luminance": 0.0156
}

Semantic roles & 50–950 ramp

primary
#400B32
secondary
#2A7D40
accent
#ED6A3A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400B32

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

Preview Lab → · Contrast checker → · Palette generator →

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