#400E22#400E22

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

Color values

HEX#400E22
RGBrgb(64, 14, 34)
HSLhsl(336, 64%, 15%)
HSVhsv(336, 78%, 25%)
CMYKcmyk(0%, 78.1%, 46.9%, 74.9%)
CIE-LABlab(12.73, 26.03, -0.17)
CIE-LCHlch(12.73, 26.03, 359.63°)
OKLaboklab(25.81% 0.0797 -0.0001)
OKLCHoklch(25.81% 0.08 359.9)
XYZxyz(2.5603, 1.5199, 1.6716)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E22 #0E402C
analogous
#400E3B #400E22 #40130E
triadic
#400E22 #22400E #0E2240
tetradic
#400E22 #3B400E #0E402C #130E40
square
#400E22 #3B400E #0E402C #130E40
split-complementary
#400E22 #0E4013 #0E3B40
monochromatic
#19050D #19050D #400E22 #72193D #A42457

Accessibility & contrast

On white

16.10
#400E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E22
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E22#FFFFFF#000000##FFFFFF
##400E221.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181B23
Deuteranopia (green-blind)
#262521
Tritanopia (blue-blind)
#460816
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e22;
/* rgb */ color: rgb(64, 14, 34);
/* oklch */ color: oklch(25.8% 0.080 359.9);
Tailwind
colors: {
  custom: {
    50: '#78515c',
    500: '#400e22',
    950: '#000000',
  },
}
SCSS
$custom: #400e22;
$custom-light: #78515c;
$custom-dark: #000000;
JSON
{
  "hex": "#400e22",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 34
  },
  "hsl": {
    "h": 336,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25812,
    "c": 0.07973,
    "h": 359.9
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#400E22
secondary
#2F7B5D
accent
#E7A541
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400E22

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

Preview Lab → · Contrast checker → · Palette generator →

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