#400903#400903

#400903 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.085 H 31.6°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#400903
RGBrgb(64, 9, 3)
HSLhsl(6, 91%, 13%)
HSVhsv(6, 95%, 25%)
CMYKcmyk(0%, 85.9%, 95.3%, 74.9%)
CIE-LABlab(11.22, 25.78, 16.23)
CIE-LCHlch(11.22, 30.46, 32.19°)
OKLaboklab(24.46% 0.0725 0.0447)
OKLCHoklch(24.46% 0.085 31.6)
XYZxyz(2.2288, 1.2923, 0.2182)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400903 #033A40
analogous
#40031B #400903 #402703
triadic
#400903 #034009 #090340
tetradic
#400903 #1B4003 #033A40 #270340
square
#400903 #1B4003 #033A40 #270340
split-complementary
#400903 #034027 #031B40
monochromatic
#1D0401 #1D0401 #400903 #7A1106 #B51908

Accessibility & contrast

On white

16.69
#400903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400903
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400903#FFFFFF#000000##FFFFFF
##4009031.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1602
Deuteranopia (green-blind)
#282201
Tritanopia (blue-blind)
#480008
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400903;
/* rgb */ color: rgb(64, 9, 3);
/* oklch */ color: oklch(24.5% 0.085 31.6);
Tailwind
colors: {
  custom: {
    50: '#7a4e48',
    500: '#400903',
    950: '#000000',
  },
}
SCSS
$custom: #400903;
$custom-light: #7a4e48;
$custom-dark: #000000;
JSON
{
  "hex": "#400903",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 3
  },
  "hsl": {
    "h": 5.902,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24456,
    "c": 0.08514,
    "h": 31.6
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#400903
secondary
#1D7882
accent
#EAFF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400903

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

Preview Lab → · Contrast checker → · Palette generator →

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