#400515#400515

#400515 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.4% C 0.088 H 11.5°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#400515
RGBrgb(64, 5, 21)
HSLhsl(344, 86%, 14%)
HSVhsv(344, 92%, 25%)
CMYKcmyk(0%, 92.2%, 67.2%, 74.9%)
CIE-LABlab(10.94, 28.58, 7.00)
CIE-LCHlch(10.94, 29.42, 13.76°)
OKLaboklab(24.36% 0.0864 0.0176)
OKLCHoklch(24.36% 0.088 11.5)
XYZxyz(2.3042, 1.2530, 0.8298)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400515 #054030
analogous
#400532 #400515 #401205
triadic
#400515 #154005 #051540
tetradic
#400515 #324005 #054030 #120540
square
#400515 #324005 #054030 #120540
split-complementary
#400515 #054012 #053240
monochromatic
#1C0209 #1C0209 #400515 #790928 #B20E3A

Accessibility & contrast

On white

16.79
#400515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400515
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400515#FFFFFF#000000##FFFFFF
##4005151.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400515;
/* rgb */ color: rgb(64, 5, 21);
/* oklch */ color: oklch(24.4% 0.088 11.5);
Tailwind
colors: {
  custom: {
    50: '#7a4c51',
    500: '#400515',
    950: '#000000',
  },
}
SCSS
$custom: #400515;
$custom-light: #7a4c51;
$custom-dark: #000000;
JSON
{
  "hex": "#400515",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 21
  },
  "hsl": {
    "h": 343.729,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24357,
    "c": 0.08818,
    "h": 11.5
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#400515
secondary
#208166
accent
#FCC32C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400515

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

Preview Lab → · Contrast checker → · Palette generator →

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