#400306#400306

#400306 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 23.8% C 0.091 H 25.0°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#400306
RGBrgb(64, 3, 6)
HSLhsl(357, 91%, 13%)
HSVhsv(357, 95%, 25%)
CMYKcmyk(0%, 95.3%, 90.6%, 74.9%)
CIE-LABlab(10.32, 28.60, 13.75)
CIE-LCHlch(10.32, 31.73, 25.68°)
OKLaboklab(23.8% 0.0824 0.0385)
OKLCHoklch(23.8% 0.091 25)
XYZxyz(2.1801, 1.1686, 0.2830)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400306 #03403D
analogous
#400324 #400306 #401E03
triadic
#400306 #064003 #030640
tetradic
#400306 #244003 #03403D #1E0340
square
#400306 #244003 #03403D #1E0340
split-complementary
#400306 #03401E #032440
monochromatic
#1D0103 #1D0103 #400306 #7A060B #B50811

Accessibility & contrast

On white

17.02
#400306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#400306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400306
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400306#FFFFFF#000000##FFFFFF
##4003061.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171406
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#480005
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #400306;
/* rgb */ color: rgb(64, 3, 6);
/* oklch */ color: oklch(23.8% 0.091 25.0);
Tailwind
colors: {
  custom: {
    50: '#7a4b49',
    500: '#400306',
    950: '#000000',
  },
}
SCSS
$custom: #400306;
$custom-light: #7a4b49;
$custom-dark: #000000;
JSON
{
  "hex": "#400306",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 6
  },
  "hsl": {
    "h": 357.049,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23804,
    "c": 0.09093,
    "h": 25
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#400306
secondary
#1D827D
accent
#FFF429
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400306

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

Preview Lab → · Contrast checker → · Palette generator →

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