#401003#401003

#401003 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.3% C 0.078 H 36.9°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#401003
RGBrgb(64, 16, 3)
HSLhsl(13, 91%, 13%)
HSVhsv(13, 95%, 25%)
CMYKcmyk(0%, 75%, 95.3%, 74.9%)
CIE-LABlab(12.40, 22.55, 17.84)
CIE-LCHlch(12.40, 28.75, 38.35°)
OKLaboklab(25.34% 0.0625 0.0469)
OKLCHoklch(25.34% 0.078 36.9)
XYZxyz(2.3164, 1.4675, 0.2474)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401003 #033340
analogous
#400314 #401003 #402E03
triadic
#401003 #034010 #100340
tetradic
#401003 #144003 #033340 #2E0340
square
#401003 #144003 #033340 #2E0340
split-complementary
#401003 #03402E #031440
monochromatic
#1D0701 #1D0701 #401003 #7A1F06 #B52D08

Accessibility & contrast

On white

16.24
#401003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#401003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401003
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401003#FFFFFF#000000##FFFFFF
##4010031.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A02
Deuteranopia (green-blind)
#2A2402
Tritanopia (blue-blind)
#47030D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #401003;
/* rgb */ color: rgb(64, 16, 3);
/* oklch */ color: oklch(25.3% 0.078 36.9);
Tailwind
colors: {
  custom: {
    50: '#7a5148',
    500: '#401003',
    950: '#000000',
  },
}
SCSS
$custom: #401003;
$custom-light: #7a5148;
$custom-dark: #000000;
JSON
{
  "hex": "#401003",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 3
  },
  "hsl": {
    "h": 12.787,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25338,
    "c": 0.07817,
    "h": 36.9
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#401003
secondary
#1D6C82
accent
#D1FF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #401003

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

Preview Lab → · Contrast checker → · Palette generator →

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