#400E32#400E32

#400E32 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.090 H 341.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#400E32
RGBrgb(64, 14, 50)
HSLhsl(317, 64%, 15%)
HSVhsv(317, 78%, 25%)
CMYKcmyk(0%, 78.1%, 21.9%, 74.9%)
CIE-LABlab(13.44, 28.39, -10.85)
CIE-LCHlch(13.44, 30.39, 339.08°)
OKLaboklab(26.56% 0.0848 -0.0292)
OKLCHoklch(26.56% 0.09 341)
XYZxyz(2.8472, 1.6346, 3.1826)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E32 #0E401C
analogous
#350E40 #400E32 #400E19
triadic
#400E32 #32400E #0E3240
tetradic
#400E32 #40350E #0E401C #0E1940
square
#400E32 #40350E #0E401C #0E1940
split-complementary
#400E32 #19400E #0E4035
monochromatic
#190514 #190514 #400E32 #721959 #A42480

Accessibility & contrast

On white

15.83
#400E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#400E32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E32
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E32#FFFFFF#000000##FFFFFF
##400E321.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121D33
Deuteranopia (green-blind)
#212531
Tritanopia (blue-blind)
#440F1E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400e32;
/* rgb */ color: rgb(64, 14, 50);
/* oklch */ color: oklch(26.6% 0.090 341.0);
Tailwind
colors: {
  custom: {
    50: '#77516a',
    500: '#400e32',
    950: '#000000',
  },
}
SCSS
$custom: #400e32;
$custom-light: #77516a;
$custom-dark: #000000;
JSON
{
  "hex": "#400e32",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 50
  },
  "hsl": {
    "h": 316.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26561,
    "c": 0.08964,
    "h": 341
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#400E32
secondary
#2F7B44
accent
#E76F41
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400E32

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

Preview Lab → · Contrast checker → · Palette generator →

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