#401310#401310

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

Color values

HEX#401310
RGBrgb(64, 19, 16)
HSLhsl(4, 60%, 16%)
HSVhsv(4, 75%, 25%)
CMYKcmyk(0%, 70.3%, 75%, 74.9%)
CIE-LABlab(13.19, 21.70, 13.17)
CIE-LCHlch(13.19, 25.38, 31.26°)
OKLaboklab(26% 0.0633 0.0322)
OKLCHoklch(26% 0.071 26.9)
XYZxyz(2.4410, 1.5935, 0.6691)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401310 #103D40
analogous
#401025 #401310 #402B10
triadic
#401310 #104013 #131040
tetradic
#401310 #254010 #103D40 #2B1040
square
#401310 #254010 #103D40 #2B1040
split-complementary
#401310 #10402B #102540
monochromatic
#180706 #180706 #401310 #71221C #A23028

Accessibility & contrast

On white

15.93
#401310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#401310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401310
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401310#FFFFFF#000000##FFFFFF
##4013101.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C0F
Deuteranopia (green-blind)
#2A260F
Tritanopia (blue-blind)
#470913
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401310;
/* rgb */ color: rgb(64, 19, 16);
/* oklch */ color: oklch(26.0% 0.071 26.9);
Tailwind
colors: {
  custom: {
    50: '#79534e',
    500: '#401310',
    950: '#000000',
  },
}
SCSS
$custom: #401310;
$custom-light: #79534e;
$custom-dark: #000000;
JSON
{
  "hex": "#401310",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 16
  },
  "hsl": {
    "h": 3.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25995,
    "c": 0.07102,
    "h": 26.9
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#401310
secondary
#32757A
accent
#D9E345
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401310

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

Preview Lab → · Contrast checker → · Palette generator →

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