#400B1A#400B1A

#400B1A is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.081 H 8.6°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#400B1A
RGBrgb(64, 11, 26)
HSLhsl(343, 71%, 15%)
HSVhsv(343, 83%, 25%)
CMYKcmyk(0%, 82.8%, 59.4%, 74.9%)
CIE-LABlab(11.99, 26.48, 4.75)
CIE-LCHlch(11.99, 26.90, 10.16°)
OKLaboklab(25.17% 0.0805 0.0122)
OKLCHoklch(25.17% 0.081 8.6)
XYZxyz(2.4207, 1.4042, 1.1207)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B1A #0B4031
analogous
#400B35 #400B1A #40170B
triadic
#400B1A #1A400B #0B1A40
tetradic
#400B1A #35400B #0B4031 #170B40
square
#400B1A #35400B #0B4031 #170B40
split-complementary
#400B1A #0B4017 #0B3540
monochromatic
#1A040B #1A040B #400B1A #74142F #A81D44

Accessibility & contrast

On white

16.40
#400B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B1A
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B1A#FFFFFF#000000##FFFFFF
##400B1A1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18191A
Deuteranopia (green-blind)
#262319
Tritanopia (blue-blind)
#470211
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b1a;
/* rgb */ color: rgb(64, 11, 26);
/* oklch */ color: oklch(25.2% 0.081 8.6);
Tailwind
colors: {
  custom: {
    50: '#794f56',
    500: '#400b1a',
    950: '#000000',
  },
}
SCSS
$custom: #400b1a;
$custom-light: #794f56;
$custom-dark: #000000;
JSON
{
  "hex": "#400b1a",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 26
  },
  "hsl": {
    "h": 343.019,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25173,
    "c": 0.08144,
    "h": 8.6
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#400B1A
secondary
#2A7D65
accent
#EDBB3A
background
#F7F4F5
surface
#EEE7E8
border
#C9C3C4
text
#090203
muted
#7B7878

Preview Lab

Preview with #400B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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