#400B29#400B29

#400B29 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.088 H 350.4°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#400B29
RGBrgb(64, 11, 41)
HSLhsl(326, 71%, 15%)
HSVhsv(326, 83%, 25%)
CMYKcmyk(0%, 82.8%, 35.9%, 74.9%)
CIE-LABlab(12.54, 28.29, -5.64)
CIE-LCHlch(12.54, 28.85, 348.72°)
OKLaboklab(25.76% 0.0864 -0.0147)
OKLCHoklch(25.76% 0.088 350.4)
XYZxyz(2.6344, 1.4897, 2.2462)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B29 #0B4022
analogous
#3D0B40 #400B29 #400B0E
triadic
#400B29 #29400B #0B2940
tetradic
#400B29 #403D0B #0B4022 #0B0E40
square
#400B29 #403D0B #0B4022 #0B0E40
split-complementary
#400B29 #0E400B #0B403D
monochromatic
#1A0411 #1A0411 #400B29 #74144A #A81D6C

Accessibility & contrast

On white

16.18
#400B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B29
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B29#FFFFFF#000000##FFFFFF
##400B291.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2A
Deuteranopia (green-blind)
#232428
Tritanopia (blue-blind)
#450818
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b29;
/* rgb */ color: rgb(64, 11, 41);
/* oklch */ color: oklch(25.8% 0.088 350.4);
Tailwind
colors: {
  custom: {
    50: '#785062',
    500: '#400b29',
    950: '#000000',
  },
}
SCSS
$custom: #400b29;
$custom-light: #785062;
$custom-dark: #000000;
JSON
{
  "hex": "#400b29",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 326.038,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25764,
    "c": 0.08767,
    "h": 350.4
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#400B29
secondary
#2A7D4E
accent
#ED883A
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400B29

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

Preview Lab → · Contrast checker → · Palette generator →

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