#401010#401010

#401010 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.6% C 0.075 H 24.1°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#401010
RGBrgb(64, 16, 16)
HSLhsl(0, 60%, 16%)
HSVhsv(0, 75%, 25%)
CMYKcmyk(0%, 75%, 75%, 74.9%)
CIE-LABlab(12.60, 23.29, 12.38)
CIE-LCHlch(12.60, 26.37, 27.98°)
OKLaboklab(25.55% 0.0683 0.0306)
OKLCHoklch(25.55% 0.075 24.1)
XYZxyz(2.3934, 1.4983, 0.6533)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401010 #104040
analogous
#401028 #401010 #402810
triadic
#401010 #104010 #101040
tetradic
#401010 #284010 #104040 #281040
square
#401010 #284010 #104040 #281040
split-complementary
#401010 #104028 #102840
monochromatic
#180606 #180606 #401010 #711C1C #A22828

Accessibility & contrast

On white

16.16
#401010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#401010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401010
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401010#FFFFFF#000000##FFFFFF
##4010101.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1A10
Deuteranopia (green-blind)
#29250F
Tritanopia (blue-blind)
#470511
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401010;
/* rgb */ color: rgb(64, 16, 16);
/* oklch */ color: oklch(25.6% 0.075 24.1);
Tailwind
colors: {
  custom: {
    50: '#79514e',
    500: '#401010',
    950: '#000000',
  },
}
SCSS
$custom: #401010;
$custom-light: #79514e;
$custom-dark: #000000;
JSON
{
  "hex": "#401010",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 16
  },
  "hsl": {
    "h": 0,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2555,
    "c": 0.07484,
    "h": 24.1
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#401010
secondary
#327A7A
accent
#E3E345
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401010

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

Preview Lab → · Contrast checker → · Palette generator →

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