#400B2E#400B2E

#400B2E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.091 H 344.8°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#400B2E
RGBrgb(64, 11, 46)
HSLhsl(320, 71%, 15%)
HSVhsv(320, 83%, 25%)
CMYKcmyk(0%, 82.8%, 28.1%, 74.9%)
CIE-LABlab(12.78, 29.03, -8.96)
CIE-LCHlch(12.78, 30.38, 342.85°)
OKLaboklab(26.01% 0.0878 -0.0238)
OKLCHoklch(26.01% 0.091 344.8)
XYZxyz(2.7273, 1.5269, 2.7353)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B2E #0B401D
analogous
#380B40 #400B2E #400B14
triadic
#400B2E #2E400B #0B2E40
tetradic
#400B2E #40380B #0B401D #0B1440
square
#400B2E #40380B #0B401D #0B1440
split-complementary
#400B2E #14400B #0B4038
monochromatic
#1A0413 #1A0413 #400B2E #741454 #A81D79

Accessibility & contrast

On white

16.09
#400B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B2E
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B2E#FFFFFF#000000##FFFFFF
##400B2E1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2F
Deuteranopia (green-blind)
#21242D
Tritanopia (blue-blind)
#450A1B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b2e;
/* rgb */ color: rgb(64, 11, 46);
/* oklch */ color: oklch(26.0% 0.091 344.8);
Tailwind
colors: {
  custom: {
    50: '#775066',
    500: '#400b2e',
    950: '#000000',
  },
}
SCSS
$custom: #400b2e;
$custom-light: #775066;
$custom-dark: #000000;
JSON
{
  "hex": "#400b2e",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 320.377,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26013,
    "c": 0.09098,
    "h": 344.8
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#400B2E
secondary
#2A7D46
accent
#ED773A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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