#401507#401507

#401507 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.2% C 0.071 H 38.2°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#401507
RGBrgb(64, 21, 7)
HSLhsl(15, 80%, 14%)
HSVhsv(15, 89%, 25%)
CMYKcmyk(0%, 67.2%, 89.1%, 74.9%)
CIE-LABlab(13.48, 20.03, 17.66)
CIE-LCHlch(13.48, 26.71, 41.41°)
OKLaboklab(26.17% 0.056 0.0441)
OKLCHoklch(26.17% 0.071 38.2)
XYZxyz(2.4211, 1.6420, 0.3904)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401507 #073240
analogous
#400716 #401507 #403207
triadic
#401507 #074015 #150740
tetradic
#401507 #164007 #073240 #320740
square
#401507 #164007 #073240 #320740
split-complementary
#401507 #074032 #071640
monochromatic
#1C0903 #1C0903 #401507 #77270D #AE3913

Accessibility & contrast

On white

15.81
#401507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401507
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401507#FFFFFF#000000##FFFFFF
##4015071.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D06
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#470B12
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401507;
/* rgb */ color: rgb(64, 21, 7);
/* oklch */ color: oklch(26.2% 0.071 38.2);
Tailwind
colors: {
  custom: {
    50: '#795449',
    500: '#401507',
    950: '#000000',
  },
}
SCSS
$custom: #401507;
$custom-light: #795449;
$custom-dark: #000000;
JSON
{
  "hex": "#401507",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 7
  },
  "hsl": {
    "h": 14.737,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26174,
    "c": 0.07124,
    "h": 38.2
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#401507
secondary
#24697F
accent
#C6F731
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #401507

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

Preview Lab → · Contrast checker → · Palette generator →

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