#400B2A#400B2A

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

Color values

HEX#400B2A
RGBrgb(64, 11, 42)
HSLhsl(325, 71%, 15%)
HSVhsv(325, 83%, 25%)
CMYKcmyk(0%, 82.8%, 34.4%, 74.9%)
CIE-LABlab(12.59, 28.43, -6.31)
CIE-LCHlch(12.59, 29.12, 347.49°)
OKLaboklab(25.81% 0.0867 -0.0165)
OKLCHoklch(25.81% 0.088 349.2)
XYZxyz(2.6521, 1.4968, 2.3393)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B2A #0B4021
analogous
#3C0B40 #400B2A #400B0F
triadic
#400B2A #2A400B #0B2A40
tetradic
#400B2A #403C0B #0B4021 #0B0F40
square
#400B2A #403C0B #0B4021 #0B0F40
split-complementary
#400B2A #0F400B #0B403C
monochromatic
#1A0411 #1A0411 #400B2A #74144C #A81D6F

Accessibility & contrast

On white

16.16
#400B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B2A
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B2A#FFFFFF#000000##FFFFFF
##400B2A1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2B
Deuteranopia (green-blind)
#232429
Tritanopia (blue-blind)
#450819
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b2a;
/* rgb */ color: rgb(64, 11, 42);
/* oklch */ color: oklch(25.8% 0.088 349.2);
Tailwind
colors: {
  custom: {
    50: '#785063',
    500: '#400b2a',
    950: '#000000',
  },
}
SCSS
$custom: #400b2a;
$custom-light: #785063;
$custom-dark: #000000;
JSON
{
  "hex": "#400b2a",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 324.906,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25812,
    "c": 0.08829,
    "h": 349.2
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#400B2A
secondary
#2A7D4C
accent
#ED853A
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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