#400B2D#400B2D

#400B2D is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.090 H 345.9°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#400B2D
RGBrgb(64, 11, 45)
HSLhsl(322, 71%, 15%)
HSVhsv(322, 83%, 25%)
CMYKcmyk(0%, 82.8%, 29.7%, 74.9%)
CIE-LABlab(12.73, 28.88, -8.30)
CIE-LCHlch(12.73, 30.05, 343.96°)
OKLaboklab(25.96% 0.0876 -0.022)
OKLCHoklch(25.96% 0.09 345.9)
XYZxyz(2.7078, 1.5191, 2.6327)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B2D #0B401E
analogous
#390B40 #400B2D #400B13
triadic
#400B2D #2D400B #0B2D40
tetradic
#400B2D #40390B #0B401E #0B1340
square
#400B2D #40390B #0B401E #0B1340
split-complementary
#400B2D #13400B #0B4039
monochromatic
#1A0412 #1A0412 #400B2D #741452 #A81D76

Accessibility & contrast

On white

16.11
#400B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B2D
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B2D#FFFFFF#000000##FFFFFF
##400B2D1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121B2E
Deuteranopia (green-blind)
#22242C
Tritanopia (blue-blind)
#450A1A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b2d;
/* rgb */ color: rgb(64, 11, 45);
/* oklch */ color: oklch(26.0% 0.090 345.9);
Tailwind
colors: {
  custom: {
    50: '#775066',
    500: '#400b2d',
    950: '#000000',
  },
}
SCSS
$custom: #400b2d;
$custom-light: #775066;
$custom-dark: #000000;
JSON
{
  "hex": "#400b2d",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 321.509,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25961,
    "c": 0.09028,
    "h": 345.9
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#400B2D
secondary
#2A7D48
accent
#ED7B3A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #400B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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