#400615#400615

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

Color values

HEX#400615
RGBrgb(64, 6, 21)
HSLhsl(344, 83%, 14%)
HSVhsv(344, 91%, 25%)
CMYKcmyk(0%, 90.6%, 67.2%, 74.9%)
CIE-LABlab(11.10, 28.14, 7.21)
CIE-LCHlch(11.10, 29.05, 14.37°)
OKLaboklab(24.47% 0.085 0.0181)
OKLCHoklch(24.47% 0.087 12)
XYZxyz(2.3151, 1.2747, 0.8335)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400615 #064031
analogous
#400632 #400615 #401406
triadic
#400615 #154006 #061540
tetradic
#400615 #324006 #064031 #140640
square
#400615 #324006 #064031 #140640
split-complementary
#400615 #064014 #063240
monochromatic
#1C0309 #1C0309 #400615 #780B27 #B0103A

Accessibility & contrast

On white

16.74
#400615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#400615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400615
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400615#FFFFFF#000000##FFFFFF
##4006151.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161615
Deuteranopia (green-blind)
#252213
Tritanopia (blue-blind)
#47000C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400615;
/* rgb */ color: rgb(64, 6, 21);
/* oklch */ color: oklch(24.5% 0.087 12.0);
Tailwind
colors: {
  custom: {
    50: '#7a4d51',
    500: '#400615',
    950: '#000000',
  },
}
SCSS
$custom: #400615;
$custom-light: #7a4d51;
$custom-dark: #000000;
JSON
{
  "hex": "#400615",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 21
  },
  "hsl": {
    "h": 344.483,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24471,
    "c": 0.08688,
    "h": 12
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#400615
secondary
#228068
accent
#F9C52F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400615

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

Preview Lab → · Contrast checker → · Palette generator →

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