#400629#400629

#400629 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.094 H 349.3°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#400629
RGBrgb(64, 6, 41)
HSLhsl(324, 83%, 14%)
HSVhsv(324, 91%, 25%)
CMYKcmyk(0%, 90.6%, 35.9%, 74.9%)
CIE-LABlab(11.83, 30.32, -6.72)
CIE-LCHlch(11.83, 31.05, 347.49°)
OKLaboklab(25.24% 0.0928 -0.0176)
OKLCHoklch(25.24% 0.094 349.3)
XYZxyz(2.5799, 1.3806, 2.2280)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400629 #06401D
analogous
#3A0640 #400629 #40060C
triadic
#400629 #294006 #062940
tetradic
#400629 #403A06 #06401D #060C40
square
#400629 #403A06 #06401D #060C40
split-complementary
#400629 #0C4006 #06403A
monochromatic
#1C0312 #1C0312 #400629 #780B4D #B01071

Accessibility & contrast

On white

16.46
#400629 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400629 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400629
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400629#FFFFFF#000000##FFFFFF
##4006291.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192A
Deuteranopia (green-blind)
#212328
Tritanopia (blue-blind)
#450316
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400629;
/* rgb */ color: rgb(64, 6, 41);
/* oklch */ color: oklch(25.2% 0.094 349.3);
Tailwind
colors: {
  custom: {
    50: '#784d62',
    500: '#400629',
    950: '#000000',
  },
}
SCSS
$custom: #400629;
$custom-light: #784d62;
$custom-dark: #000000;
JSON
{
  "hex": "#400629",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 41
  },
  "hsl": {
    "h": 323.793,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25244,
    "c": 0.09447,
    "h": 349.3
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#400629
secondary
#228047
accent
#F97F2F
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400629

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

Preview Lab → · Contrast checker → · Palette generator →

#400629 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva