#400C32#400C32

#400C32 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.093 H 340.8°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#400C32
RGBrgb(64, 12, 50)
HSLhsl(316, 68%, 15%)
HSVhsv(316, 81%, 25%)
CMYKcmyk(0%, 81.2%, 21.9%, 74.9%)
CIE-LABlab(13.13, 29.26, -11.33)
CIE-LCHlch(13.13, 31.38, 338.83°)
OKLaboklab(26.34% 0.0874 -0.0305)
OKLCHoklch(26.34% 0.093 340.8)
XYZxyz(2.8216, 1.5835, 3.1740)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C32 #0C401A
analogous
#340C40 #400C32 #400C18
triadic
#400C32 #32400C #0C3240
tetradic
#400C32 #40340C #0C401A #0C1840
square
#400C32 #40340C #0C401A #0C1840
split-complementary
#400C32 #18400C #0C4034
monochromatic
#1A0514 #1A0514 #400C32 #74165A #A71F83

Accessibility & contrast

On white

15.95
#400C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#400C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400C32
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C32#FFFFFF#000000##FFFFFF
##400C321.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C33
Deuteranopia (green-blind)
#202531
Tritanopia (blue-blind)
#440D1D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400c32;
/* rgb */ color: rgb(64, 12, 50);
/* oklch */ color: oklch(26.3% 0.093 340.8);
Tailwind
colors: {
  custom: {
    50: '#77506a',
    500: '#400c32',
    950: '#000000',
  },
}
SCSS
$custom: #400c32;
$custom-light: #77506a;
$custom-dark: #000000;
JSON
{
  "hex": "#400c32",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 316.154,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26336,
    "c": 0.09258,
    "h": 340.8
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#400C32
secondary
#2C7C41
accent
#EB6C3D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400C32

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

Preview Lab → · Contrast checker → · Palette generator →

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