#400618#400618

#400618 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.6% C 0.087 H 8.6°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#400618
RGBrgb(64, 6, 24)
HSLhsl(341, 83%, 14%)
HSVhsv(341, 91%, 25%)
CMYKcmyk(0%, 90.6%, 62.5%, 74.9%)
CIE-LABlab(11.18, 28.39, 5.14)
CIE-LCHlch(11.18, 28.85, 10.26°)
OKLaboklab(24.56% 0.0864 0.0131)
OKLCHoklch(24.56% 0.087 8.6)
XYZxyz(2.3446, 1.2865, 0.9888)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400618 #06402E
analogous
#400635 #400618 #401106
triadic
#400618 #184006 #061840
tetradic
#400618 #354006 #06402E #110640
square
#400618 #354006 #06402E #110640
split-complementary
#400618 #064011 #063540
monochromatic
#1C030A #1C030A #400618 #780B2D #B01042

Accessibility & contrast

On white

16.70
#400618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400618
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400618#FFFFFF#000000##FFFFFF
##4006181.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161618
Deuteranopia (green-blind)
#252217
Tritanopia (blue-blind)
#47000E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400618;
/* rgb */ color: rgb(64, 6, 24);
/* oklch */ color: oklch(24.6% 0.087 8.6);
Tailwind
colors: {
  custom: {
    50: '#794d54',
    500: '#400618',
    950: '#000000',
  },
}
SCSS
$custom: #400618;
$custom-light: #794d54;
$custom-dark: #000000;
JSON
{
  "hex": "#400618",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 24
  },
  "hsl": {
    "h": 341.379,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2456,
    "c": 0.08736,
    "h": 8.6
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#400618
secondary
#228063
accent
#F9BA2F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400618

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

Preview Lab → · Contrast checker → · Palette generator →

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