#401F0F#401F0F

#401F0F is a dark, muted orange. Relative luminance 0.021; OKLCH L 28.1% C 0.057 H 45.4°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#401F0F
RGBrgb(64, 31, 15)
HSLhsl(20, 62%, 15%)
HSVhsv(20, 77%, 25%)
CMYKcmyk(0%, 51.6%, 76.6%, 74.9%)
CIE-LABlab(16.03, 14.34, 17.39)
CIE-LCHlch(16.03, 22.54, 50.49°)
OKLaboklab(28.15% 0.0403 0.0409)
OKLCHoklch(28.15% 0.057 45.4)
XYZxyz(2.6908, 2.1047, 0.7164)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401F0F #0F3040
analogous
#400F17 #401F0F #40370F
triadic
#401F0F #0F401F #1F0F40
tetradic
#401F0F #17400F #0F3040 #370F40
square
#401F0F #17400F #0F3040 #370F40
split-complementary
#401F0F #0F4037 #0F1740
monochromatic
#190C06 #190C06 #401F0F #72371B #A34F26

Accessibility & contrast

On white

14.78
#401F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401F0F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401F0F#FFFFFF#000000##FFFFFF
##401F0F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230D
Deuteranopia (green-blind)
#302B0F
Tritanopia (blue-blind)
#47191B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401f0f;
/* rgb */ color: rgb(64, 31, 15);
/* oklch */ color: oklch(28.1% 0.057 45.4);
Tailwind
colors: {
  custom: {
    50: '#785b4e',
    500: '#401f0f',
    950: '#000000',
  },
}
SCSS
$custom: #401f0f;
$custom-light: #785b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#401f0f",
  "rgb": {
    "r": 64,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 19.592,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28146,
    "c": 0.05744,
    "h": 45.4
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#401F0F
secondary
#30627A
accent
#B0E543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #401F0F

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

Preview Lab → · Contrast checker → · Palette generator →

#401F0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva