#401904#401904

#401904 is a dark, moderate orange. Relative luminance 0.018; OKLCH L 26.8% C 0.069 H 46.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#401904
RGBrgb(64, 25, 4)
HSLhsl(21, 88%, 13%)
HSVhsv(21, 94%, 25%)
CMYKcmyk(0%, 60.9%, 93.8%, 74.9%)
CIE-LABlab(14.37, 17.48, 20.05)
CIE-LCHlch(14.37, 26.60, 48.91°)
OKLaboklab(26.83% 0.0474 0.0494)
OKLCHoklch(26.83% 0.069 46.2)
XYZxyz(2.4842, 1.7943, 0.3304)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401904 #042B40
analogous
#40040D #401904 #403704
triadic
#401904 #044019 #190440
tetradic
#401904 #0D4004 #042B40 #370440
square
#401904 #0D4004 #042B40 #370440
split-complementary
#401904 #044037 #040D40
monochromatic
#1D0B02 #1D0B02 #401904 #7A2F08 #B3460B

Accessibility & contrast

On white

15.45
#401904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#401904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401904
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401904#FFFFFF#000000##FFFFFF
##4019041.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F02
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#471015
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401904;
/* rgb */ color: rgb(64, 25, 4);
/* oklch */ color: oklch(26.8% 0.069 46.2);
Tailwind
colors: {
  custom: {
    50: '#795748',
    500: '#401904',
    950: '#000000',
  },
}
SCSS
$custom: #401904;
$custom-light: #795748;
$custom-dark: #000000;
JSON
{
  "hex": "#401904",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 4
  },
  "hsl": {
    "h": 21,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26834,
    "c": 0.0685,
    "h": 46.2
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#401904
secondary
#1F5F81
accent
#B4FE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#0A0300
muted
#7C7877

Preview Lab

Preview with #401904

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

Preview Lab → · Contrast checker → · Palette generator →

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