#401308#401308

#401308 is a dark, moderate red. Relative luminance 0.016; OKLCH L 25.9% C 0.073 H 35.0°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#401308
RGBrgb(64, 19, 8)
HSLhsl(12, 78%, 14%)
HSVhsv(12, 88%, 25%)
CMYKcmyk(0%, 70.3%, 87.5%, 74.9%)
CIE-LABlab(13.07, 21.22, 16.70)
CIE-LCHlch(13.07, 27.00, 38.21°)
OKLaboklab(25.86% 0.0599 0.042)
OKLCHoklch(25.86% 0.073 35)
XYZxyz(2.3913, 1.5736, 0.4075)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401308 #083540
analogous
#400819 #401308 #402F08
triadic
#401308 #084013 #130840
tetradic
#401308 #194008 #083540 #2F0840
square
#401308 #194008 #083540 #2F0840
split-complementary
#401308 #08402F #081940
monochromatic
#1B0803 #1B0803 #401308 #76230F #AD3316

Accessibility & contrast

On white

15.97
#401308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#401308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401308
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401308#FFFFFF#000000##FFFFFF
##4013081.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B07
Deuteranopia (green-blind)
#2B2507
Tritanopia (blue-blind)
#470811
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401308;
/* rgb */ color: rgb(64, 19, 8);
/* oklch */ color: oklch(25.9% 0.073 35.0);
Tailwind
colors: {
  custom: {
    50: '#79534a',
    500: '#401308',
    950: '#000000',
  },
}
SCSS
$custom: #401308;
$custom-light: #79534a;
$custom-dark: #000000;
JSON
{
  "hex": "#401308",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 8
  },
  "hsl": {
    "h": 11.786,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25864,
    "c": 0.07312,
    "h": 35
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#401308
secondary
#256D7E
accent
#CEF434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401308

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

Preview Lab → · Contrast checker → · Palette generator →

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