#400B24#400B24

#400B24 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.5% C 0.085 H 356.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#400B24
RGBrgb(64, 11, 36)
HSLhsl(332, 71%, 15%)
HSVhsv(332, 83%, 25%)
CMYKcmyk(0%, 82.8%, 43.8%, 74.9%)
CIE-LABlab(12.33, 27.61, -2.25)
CIE-LCHlch(12.33, 27.70, 355.35°)
OKLaboklab(25.54% 0.0847 -0.0056)
OKLCHoklch(25.54% 0.085 356.2)
XYZxyz(2.5526, 1.4570, 1.8155)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B24 #0B4027
analogous
#400B3F #400B24 #400C0B
triadic
#400B24 #24400B #0B2440
tetradic
#400B24 #3F400B #0B4027 #0C0B40
square
#400B24 #3F400B #0B4027 #0C0B40
split-complementary
#400B24 #0B400C #0B3F40
monochromatic
#1A040F #1A040F #400B24 #741441 #A81D5F

Accessibility & contrast

On white

16.26
#400B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B24
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B24#FFFFFF#000000##FFFFFF
##400B241.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151A25
Deuteranopia (green-blind)
#242423
Tritanopia (blue-blind)
#460616
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400b24;
/* rgb */ color: rgb(64, 11, 36);
/* oklch */ color: oklch(25.5% 0.085 356.2);
Tailwind
colors: {
  custom: {
    50: '#784f5e',
    500: '#400b24',
    950: '#000000',
  },
}
SCSS
$custom: #400b24;
$custom-light: #784f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#400b24",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 36
  },
  "hsl": {
    "h": 331.698,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25541,
    "c": 0.08491,
    "h": 356.2
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#400B24
secondary
#2A7D56
accent
#ED993A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400B24

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

Preview Lab → · Contrast checker → · Palette generator →

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