#401804#401804

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

Color values

HEX#401804
RGBrgb(64, 24, 4)
HSLhsl(20, 88%, 13%)
HSVhsv(20, 94%, 25%)
CMYKcmyk(0%, 62.5%, 93.8%, 74.9%)
CIE-LABlab(14.13, 18.10, 19.74)
CIE-LCHlch(14.13, 26.78, 47.48°)
OKLaboklab(26.65% 0.0493 0.049)
OKLCHoklch(26.65% 0.069 44.8)
XYZxyz(2.4632, 1.7523, 0.3234)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401804 #042C40
analogous
#40040E #401804 #403604
triadic
#401804 #044018 #180440
tetradic
#401804 #0E4004 #042C40 #360440
square
#401804 #0E4004 #042C40 #360440
split-complementary
#401804 #044036 #040E40
monochromatic
#1D0B02 #1D0B02 #401804 #7A2E08 #B3430B

Accessibility & contrast

On white

15.55
#401804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401804
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401804#FFFFFF#000000##FFFFFF
##4018041.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#2D2703
Tritanopia (blue-blind)
#470F14
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401804;
/* rgb */ color: rgb(64, 24, 4);
/* oklch */ color: oklch(26.7% 0.069 44.8);
Tailwind
colors: {
  custom: {
    50: '#795648',
    500: '#401804',
    950: '#000000',
  },
}
SCSS
$custom: #401804;
$custom-light: #795648;
$custom-dark: #000000;
JSON
{
  "hex": "#401804",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 4
  },
  "hsl": {
    "h": 20,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26652,
    "c": 0.06946,
    "h": 44.8
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#401804
secondary
#1F6081
accent
#B7FE29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#0A0300
muted
#7C7877

Preview Lab

Preview with #401804

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

Preview Lab → · Contrast checker → · Palette generator →

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