#400A29#400A29

#400A29 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.7% C 0.089 H 350.1°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#400A29
RGBrgb(64, 10, 41)
HSLhsl(326, 73%, 15%)
HSVhsv(326, 84%, 25%)
CMYKcmyk(0%, 84.4%, 35.9%, 74.9%)
CIE-LABlab(12.40, 28.69, -5.86)
CIE-LCHlch(12.40, 29.28, 348.46°)
OKLaboklab(25.66% 0.0877 -0.0153)
OKLCHoklch(25.66% 0.089 350.1)
XYZxyz(2.6233, 1.4675, 2.2425)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A29 #0A4021
analogous
#3C0A40 #400A29 #400A0E
triadic
#400A29 #29400A #0A2940
tetradic
#400A29 #403C0A #0A4021 #0A0E40
square
#400A29 #403C0A #0A4021 #0A0E40
split-complementary
#400A29 #0E400A #0A403C
monochromatic
#1A0411 #1A0411 #400A29 #75124B #AA1B6D

Accessibility & contrast

On white

16.24
#400A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400A29
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A29#FFFFFF#000000##FFFFFF
##400A291.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A2A
Deuteranopia (green-blind)
#222428
Tritanopia (blue-blind)
#450718
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400a29;
/* rgb */ color: rgb(64, 10, 41);
/* oklch */ color: oklch(25.7% 0.089 350.1);
Tailwind
colors: {
  custom: {
    50: '#784f62',
    500: '#400a29',
    950: '#000000',
  },
}
SCSS
$custom: #400a29;
$custom-light: #784f62;
$custom-dark: #000000;
JSON
{
  "hex": "#400a29",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 325.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2566,
    "c": 0.08901,
    "h": 350.1
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#400A29
secondary
#297D4D
accent
#F08638
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400A29

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

Preview Lab → · Contrast checker → · Palette generator →

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