#400612#400612

#400612 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.4% C 0.087 H 15.3°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#400612
RGBrgb(64, 6, 18)
HSLhsl(348, 83%, 14%)
HSVhsv(348, 91%, 25%)
CMYKcmyk(0%, 90.6%, 71.9%, 74.9%)
CIE-LABlab(11.02, 27.91, 9.06)
CIE-LCHlch(11.02, 29.34, 17.98°)
OKLaboklab(24.39% 0.0836 0.0229)
OKLCHoklch(24.39% 0.087 15.3)
XYZxyz(2.2889, 1.2643, 0.6957)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400612 #064034
analogous
#40062F #400612 #401706
triadic
#400612 #124006 #061240
tetradic
#400612 #2F4006 #064034 #170640
square
#400612 #2F4006 #064034 #170640
split-complementary
#400612 #064017 #062F40
monochromatic
#1C0308 #1C0308 #400612 #780B22 #B01031

Accessibility & contrast

On white

16.76
#400612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400612
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400612#FFFFFF#000000##FFFFFF
##4006121.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171612
Deuteranopia (green-blind)
#262210
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400612;
/* rgb */ color: rgb(64, 6, 18);
/* oklch */ color: oklch(24.4% 0.087 15.3);
Tailwind
colors: {
  custom: {
    50: '#7a4d4f',
    500: '#400612',
    950: '#000000',
  },
}
SCSS
$custom: #400612;
$custom-light: #7a4d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#400612",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 18
  },
  "hsl": {
    "h": 347.586,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24392,
    "c": 0.08664,
    "h": 15.3
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#400612
secondary
#22806C
accent
#F9CF2F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400612

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

Preview Lab → · Contrast checker → · Palette generator →

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