#400B2B#400B2B

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

Color values

HEX#400B2B
RGBrgb(64, 11, 43)
HSLhsl(324, 71%, 15%)
HSVhsv(324, 83%, 25%)
CMYKcmyk(0%, 82.8%, 32.8%, 74.9%)
CIE-LABlab(12.63, 28.58, -6.98)
CIE-LCHlch(12.63, 29.42, 346.28°)
OKLaboklab(25.86% 0.087 -0.0184)
OKLCHoklch(25.86% 0.089 348.1)
XYZxyz(2.6702, 1.5040, 2.4347)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B2B #0B4020
analogous
#3B0B40 #400B2B #400B10
triadic
#400B2B #2B400B #0B2B40
tetradic
#400B2B #403B0B #0B4020 #0B1040
square
#400B2B #403B0B #0B4020 #0B1040
split-complementary
#400B2B #10400B #0B403B
monochromatic
#1A0412 #1A0412 #400B2B #74144E #A81D71

Accessibility & contrast

On white

16.14
#400B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B2B
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B2B#FFFFFF#000000##FFFFFF
##400B2B1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2C
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#450919
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b2b;
/* rgb */ color: rgb(64, 11, 43);
/* oklch */ color: oklch(25.9% 0.089 348.1);
Tailwind
colors: {
  custom: {
    50: '#785064',
    500: '#400b2b',
    950: '#000000',
  },
}
SCSS
$custom: #400b2b;
$custom-light: #785064;
$custom-dark: #000000;
JSON
{
  "hex": "#400b2b",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 323.774,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25861,
    "c": 0.08893,
    "h": 348.1
  },
  "luminance": 0.01504
}

Semantic roles & 50–950 ramp

primary
#400B2B
secondary
#2A7D4B
accent
#ED813A
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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