#400B2C#400B2C

#400B2C is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.090 H 347.0°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#400B2C
RGBrgb(64, 11, 44)
HSLhsl(323, 71%, 15%)
HSVhsv(323, 83%, 25%)
CMYKcmyk(0%, 82.8%, 31.2%, 74.9%)
CIE-LABlab(12.68, 28.73, -7.64)
CIE-LCHlch(12.68, 29.72, 345.11°)
OKLaboklab(25.91% 0.0873 -0.0202)
OKLCHoklch(25.91% 0.09 347)
XYZxyz(2.6888, 1.5115, 2.5325)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B2C #0B401F
analogous
#3A0B40 #400B2C #400B11
triadic
#400B2C #2C400B #0B2C40
tetradic
#400B2C #403A0B #0B401F #0B1140
square
#400B2C #403A0B #0B401F #0B1140
split-complementary
#400B2C #11400B #0B403A
monochromatic
#1A0412 #1A0412 #400B2C #741450 #A81D74

Accessibility & contrast

On white

16.13
#400B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B2C
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B2C#FFFFFF#000000##FFFFFF
##400B2C1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121B2D
Deuteranopia (green-blind)
#22242B
Tritanopia (blue-blind)
#45091A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b2c;
/* rgb */ color: rgb(64, 11, 44);
/* oklch */ color: oklch(25.9% 0.090 347.0);
Tailwind
colors: {
  custom: {
    50: '#775065',
    500: '#400b2c',
    950: '#000000',
  },
}
SCSS
$custom: #400b2c;
$custom-light: #775065;
$custom-dark: #000000;
JSON
{
  "hex": "#400b2c",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 322.642,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25911,
    "c": 0.0896,
    "h": 347
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#400B2C
secondary
#2A7D49
accent
#ED7E3A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #400B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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