#400603#400603

#400603 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.1% C 0.088 H 29.8°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#400603
RGBrgb(64, 6, 3)
HSLhsl(3, 91%, 13%)
HSVhsv(3, 95%, 25%)
CMYKcmyk(0%, 90.6%, 95.3%, 74.9%)
CIE-LABlab(10.76, 27.08, 15.58)
CIE-LCHlch(10.76, 31.24, 29.91°)
OKLaboklab(24.11% 0.0765 0.0438)
OKLCHoklch(24.11% 0.088 29.8)
XYZxyz(2.1962, 1.2272, 0.2074)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400603 #033D40
analogous
#40031E #400603 #402403
triadic
#400603 #034006 #060340
tetradic
#400603 #1E4003 #033D40 #240340
square
#400603 #1E4003 #033D40 #240340
split-complementary
#400603 #034024 #031E40
monochromatic
#1D0301 #1D0301 #400603 #7A0B06 #B51108

Accessibility & contrast

On white

16.86
#400603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400603
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400603#FFFFFF#000000##FFFFFF
##4006031.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400603;
/* rgb */ color: rgb(64, 6, 3);
/* oklch */ color: oklch(24.1% 0.088 29.8);
Tailwind
colors: {
  custom: {
    50: '#7a4c48',
    500: '#400603',
    950: '#000000',
  },
}
SCSS
$custom: #400603;
$custom-light: #7a4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#400603",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 3
  },
  "hsl": {
    "h": 2.951,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24109,
    "c": 0.08817,
    "h": 29.8
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#400603
secondary
#1D7D82
accent
#F4FF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400603

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

Preview Lab → · Contrast checker → · Palette generator →

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