#400B22#400B22

#400B22 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.5% C 0.084 H 358.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#400B22
RGBrgb(64, 11, 34)
HSLhsl(334, 71%, 15%)
HSVhsv(334, 83%, 25%)
CMYKcmyk(0%, 82.8%, 46.9%, 74.9%)
CIE-LABlab(12.25, 27.36, -0.87)
CIE-LCHlch(12.25, 27.38, 358.18°)
OKLaboklab(25.46% 0.084 -0.0019)
OKLCHoklch(25.46% 0.084 358.7)
XYZxyz(2.5229, 1.4451, 1.6591)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B22 #0B4029
analogous
#400B3D #400B22 #400E0B
triadic
#400B22 #22400B #0B2240
tetradic
#400B22 #3D400B #0B4029 #0E0B40
square
#400B22 #3D400B #0B4029 #0E0B40
split-complementary
#400B22 #0B400E #0B3D40
monochromatic
#1A040E #1A040E #400B22 #74143E #A81D59

Accessibility & contrast

On white

16.29
#400B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B22
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B22#FFFFFF#000000##FFFFFF
##400B221.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161A23
Deuteranopia (green-blind)
#242421
Tritanopia (blue-blind)
#460515
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400b22;
/* rgb */ color: rgb(64, 11, 34);
/* oklch */ color: oklch(25.5% 0.084 358.7);
Tailwind
colors: {
  custom: {
    50: '#784f5c',
    500: '#400b22',
    950: '#000000',
  },
}
SCSS
$custom: #400b22;
$custom-light: #784f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#400b22",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 34
  },
  "hsl": {
    "h": 333.962,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25459,
    "c": 0.08399,
    "h": 358.7
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#400B22
secondary
#2A7D59
accent
#EDA03A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400B22

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

Preview Lab → · Contrast checker → · Palette generator →

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