#400A22#400A22

#400A22 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.4% C 0.085 H 358.3°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#400A22
RGBrgb(64, 10, 34)
HSLhsl(333, 73%, 15%)
HSVhsv(333, 84%, 25%)
CMYKcmyk(0%, 84.4%, 46.9%, 74.9%)
CIE-LABlab(12.11, 27.77, -1.08)
CIE-LCHlch(12.11, 27.79, 357.77°)
OKLaboklab(25.35% 0.0853 -0.0025)
OKLCHoklch(25.35% 0.085 358.3)
XYZxyz(2.5118, 1.4229, 1.6554)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A22 #0A4028
analogous
#400A3D #400A22 #400D0A
triadic
#400A22 #22400A #0A2240
tetradic
#400A22 #3D400A #0A4028 #0D0A40
square
#400A22 #3D400A #0A4028 #0D0A40
split-complementary
#400A22 #0A400D #0A3D40
monochromatic
#1A040E #1A040E #400A22 #75123E #AA1B5A

Accessibility & contrast

On white

16.35
#400A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400A22
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A22#FFFFFF#000000##FFFFFF
##400A221.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151923
Deuteranopia (green-blind)
#242321
Tritanopia (blue-blind)
#460414
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400a22;
/* rgb */ color: rgb(64, 10, 34);
/* oklch */ color: oklch(25.4% 0.085 358.3);
Tailwind
colors: {
  custom: {
    50: '#784f5c',
    500: '#400a22',
    950: '#000000',
  },
}
SCSS
$custom: #400a22;
$custom-light: #784f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#400a22",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 34
  },
  "hsl": {
    "h": 333.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25352,
    "c": 0.08531,
    "h": 358.3
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#400A22
secondary
#297D58
accent
#F09E38
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400A22

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

Preview Lab → · Contrast checker → · Palette generator →

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