#401B0F#401B0F

#401B0F is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.4% C 0.062 H 38.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#401B0F
RGBrgb(64, 27, 15)
HSLhsl(15, 62%, 15%)
HSVhsv(15, 77%, 25%)
CMYKcmyk(0%, 57.8%, 76.6%, 74.9%)
CIE-LABlab(15.00, 16.89, 16.08)
CIE-LCHlch(15.00, 23.32, 43.60°)
OKLaboklab(27.36% 0.0482 0.0383)
OKLCHoklch(27.36% 0.062 38.5)
XYZxyz(2.5927, 1.9087, 0.6837)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B0F #0F3440
analogous
#400F1B #401B0F #40330F
triadic
#401B0F #0F401B #1B0F40
tetradic
#401B0F #1B400F #0F3440 #330F40
square
#401B0F #1B400F #0F3440 #330F40
split-complementary
#401B0F #0F4033 #0F1B40
monochromatic
#190A06 #190A06 #401B0F #72301B #A34526

Accessibility & contrast

On white

15.20
#401B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B0F
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B0F#FFFFFF#000000##FFFFFF
##401B0F1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210E
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#471418
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b0f;
/* rgb */ color: rgb(64, 27, 15);
/* oklch */ color: oklch(27.4% 0.062 38.5);
Tailwind
colors: {
  custom: {
    50: '#78584e',
    500: '#401b0f',
    950: '#000000',
  },
}
SCSS
$custom: #401b0f;
$custom-light: #78584e;
$custom-dark: #000000;
JSON
{
  "hex": "#401b0f",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 15
  },
  "hsl": {
    "h": 14.694,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27361,
    "c": 0.06152,
    "h": 38.5
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#401B0F
secondary
#30687A
accent
#BDE543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #401B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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