#400B26#400B26

#400B26 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.086 H 353.9°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#400B26
RGBrgb(64, 11, 38)
HSLhsl(329, 71%, 15%)
HSVhsv(329, 83%, 25%)
CMYKcmyk(0%, 82.8%, 40.6%, 74.9%)
CIE-LABlab(12.41, 27.87, -3.61)
CIE-LCHlch(12.41, 28.11, 352.61°)
OKLaboklab(25.63% 0.0855 -0.0092)
OKLCHoklch(25.63% 0.086 353.9)
XYZxyz(2.5840, 1.4696, 1.9809)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B26 #0B4025
analogous
#400B40 #400B26 #400B0B
triadic
#400B26 #26400B #0B2640
tetradic
#400B26 #40400B #0B4025 #0B0B40
square
#400B26 #40400B #0B4025 #0B0B40
split-complementary
#400B26 #0B400B #0B4040
monochromatic
#1A0410 #1A0410 #400B26 #741445 #A81D64

Accessibility & contrast

On white

16.23
#400B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B26
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B26#FFFFFF#000000##FFFFFF
##400B261.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151A27
Deuteranopia (green-blind)
#242425
Tritanopia (blue-blind)
#460617
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400b26;
/* rgb */ color: rgb(64, 11, 38);
/* oklch */ color: oklch(25.6% 0.086 353.9);
Tailwind
colors: {
  custom: {
    50: '#784f60',
    500: '#400b26',
    950: '#000000',
  },
}
SCSS
$custom: #400b26;
$custom-light: #784f60;
$custom-dark: #000000;
JSON
{
  "hex": "#400b26",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 38
  },
  "hsl": {
    "h": 329.434,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25627,
    "c": 0.08594,
    "h": 353.9
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#400B26
secondary
#2A7D53
accent
#ED923A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400B26

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

Preview Lab → · Contrast checker → · Palette generator →

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