#400703#400703

#400703 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.2% C 0.087 H 30.4°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#400703
RGBrgb(64, 7, 3)
HSLhsl(4, 91%, 13%)
HSVhsv(4, 95%, 25%)
CMYKcmyk(0%, 89.1%, 95.3%, 74.9%)
CIE-LABlab(10.91, 26.64, 15.80)
CIE-LCHlch(10.91, 30.97, 30.67°)
OKLaboklab(24.23% 0.0752 0.0441)
OKLCHoklch(24.23% 0.087 30.4)
XYZxyz(2.2070, 1.2489, 0.2110)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400703 #033C40
analogous
#40031D #400703 #402503
triadic
#400703 #034007 #070340
tetradic
#400703 #1D4003 #033C40 #250340
square
#400703 #1D4003 #033C40 #250340
split-complementary
#400703 #034025 #031D40
monochromatic
#1D0301 #1D0301 #400703 #7A0D06 #B51408

Accessibility & contrast

On white

16.80
#400703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400703
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400703#FFFFFF#000000##FFFFFF
##4007031.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191502
Deuteranopia (green-blind)
#272201
Tritanopia (blue-blind)
#480007
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400703;
/* rgb */ color: rgb(64, 7, 3);
/* oklch */ color: oklch(24.2% 0.087 30.4);
Tailwind
colors: {
  custom: {
    50: '#7a4d48',
    500: '#400703',
    950: '#000000',
  },
}
SCSS
$custom: #400703;
$custom-light: #7a4d48;
$custom-dark: #000000;
JSON
{
  "hex": "#400703",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 3
  },
  "hsl": {
    "h": 3.934,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24226,
    "c": 0.08713,
    "h": 30.4
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#400703
secondary
#1D7B82
accent
#F1FF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400703

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

Preview Lab → · Contrast checker → · Palette generator →

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